top of page


Selecting fields - The fields command
All data that goes into Splunk is turned into events, and each part of an event is assigned to a specific field. The fields command lets you select or remove any field in our field list, which directly affects query performance. To select the fields to use, pass the fields command the list of fields to keep, as in the following example: index=web | fields action, clientip, host, status Similarly, we can use the minus sign (-) to remove fields from the list: index=web | fields
WeValuate
1 day ago1 min read
bottom of page