O'Reilly logo

Splunk 7 Essentials - Third Edition by Betsy Page Sigman, Erickson Delgado, J-P Contreras

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Search pipeline

The arrows in the preceding visualization mean the resulting data from the previous command will be used against the next command in the series. To fully understand this command, let's go through the search pipe by pipe. Type the following commands in succession into the search window, but pause after every one of them and observe how the data changes.

The following command will display the raw events:

SPL> index=_internal sourcetype=splunk*

The next command uses the raw events gathered from the previous step, keys them on the name field, calculates the number of events for the name field, then limits the results to the top five:

SPL> index=_internal sourcetype=splunk* | top limit=5 name  

Finally, the results table of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required