Beyond Basic Search - Mod 1 Flashcards
What is this an example of?
Search for a single word (e.g., error) or group of words (e.g., error password)
This is an example of Keywords
NOT, OR, AND are what in the Splunk language?
Booleans
Must NOT, OR, AND booleans be uppercase?
Yes, these Booleans are always uppercase
Are phrases like “web error” different from “web AND error”?
Yes, these examples are different
OR is implied not AND
What are the rules for using Wildcards in Splunk’s search language?
Starting searches with a wildcard and adding Wildcards in the middle of the search string are inefficient ways to use Wildcards
Tailing wildcards are a best practice
What are the comparisons used in Splunk’s search language?
=, !=, ,>=
=, != are used in alphanumeric searches
This command returns a table containing only specified fields in result set.
table command
This command renames a field in results.
rename command
This command includes or excludes specified fields.
fields command
This command removes duplicates from results
dedup command
This command sorts results by specified field.
sort command
This command adds field values from an external source (e.g., csv files)
lookup command
What are some of the key/values that are case sensitive in Splunk?
Boolean operators (uppercase) Field names Field values from lookup (default, but configurable) Regular expressions eval and where commands Tags
Page 17 Mod 1
What are some of the key/values that are case insensitive in Splunk?
Command names Command clauses Search terms Statistical functions Field values
Page 17 Mod 1
As events come in, where does Splunk place them?
Into an index’s hot bucket (only writable bucket)
What is the transition that takes place as the buckets age in Splunk?
They roll from hot to warm to cold
What does each bucket have?
Its own raw data, metadata, and index files
What does the metadata keep track of?
Source, sourcetype and host
When you search, Splunk uses what to choose which buckets to search?
Time Range
Splunk uses the bucket indexes to find what?
Qualifying events