SPLK-1001 · Question #78
Which search would return events from the access_combined sourcetype?
The correct answer is A. Sourcetype=access_combined. The search query sourcetype=access_combined would return events from the access_combined sourcetype, which is a predefined sourcetype in Splunk that matches the access-common or access- combined Apache logging formats. The sourcetype field is case-sensitive, so using different…
Question
Which search would return events from the access_combined sourcetype?
Options
- ASourcetype=access_combined
- BSourcetype=Access_Combined
- Csourcetype=Access_Combined
- DSOURCETYPE=access_combined
How the community answered
(46 responses)- A74% (34)
- B4% (2)
- C15% (7)
- D7% (3)
Explanation
The search query sourcetype=access_combined would return events from the access_combined sourcetype, which is a predefined sourcetype in Splunk that matches the access-common or access- combined Apache logging formats. The sourcetype field is case-sensitive, so using different capitalization such as Access_Combined or ACCESS_COMBINED would not match the exact sourcetype name. The sourcetype field is also a default field that is added by the indexer when it indexes the data, so it does not need to be enclosed in quotation marks.
Topics
Community Discussion
No community discussion yet for this question.