Splunk Recipes: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:


Expression involving fields are explained above in [[#Searching_with_Fields|Searching with Fields]].
Expression involving fields are explained above in [[#Searching_with_Fields|Searching with Fields]].
The logical AND is the implicit logical operator between expressions involving fields:
<pre>
sourcetype=access_* status=200 action=purchase
</pre>

Revision as of 16:21, 21 September 2016

Internal

Searching with Fields

For more details on Splunk Fields fundamentals see Splunk Concepts - Fields.

When searching for a specific field, use the following syntax:

field_name="field value"

Field names are case sensitive. Field values are not case sensitive.

Quotation marks are required when the field values include spaces.

Wildcards can be used in field values:

field_name="prefix*"

Search Syntax

Expression involving fields are explained above in Searching with Fields.

The logical AND is the implicit logical operator between expressions involving fields:

sourcetype=access_* status=200 action=purchase