Splunk Certified Cybersecurity Defense Analyst free question 9 / 10 · Domain 5: SPL and Efficient Searching
Which fields does the Search Manual name as default fields that should be used to filter data early in a search?
- host, source, and sourcetype
- eventcount, duration, and count
- risk_score, urgency, and status
- user, dest, and action
Show the answer and explanation
Answer: A
Why this is correct
The page on using fields effectively says searches are faster when they use fields that are already extracted (indexed fields) than fields that are extracted at search time. At index time Splunk software extracts default fields common to each event, namely host, source and sourcetype. The advice is to use them to filter data as early as possible, so that processing is done on a minimum amount of data. The example filters the sourcetype and status before the stats command.
Why the other options are wrong
"user, dest, and action" … These are CIM-style fields extracted or normalized at search time. The page names host, source and sourcetype as default fields.
"risk_score, urgency, and status" … These are ES notable and risk fields. They are not index-time default fields.
"eventcount, duration, and count" … These fields come from commands such as transaction and stats at search time.
Key points
Default fields host, source and sourcetype are index-time. Filter on them early.