nerdexam
Splunk

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…

Monitoring, logging, and remediation

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)
  • A
    74% (34)
  • B
    4% (2)
  • C
    15% (7)
  • D
    7% (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

#Splunk#sourcetype#SPL syntax#case sensitivity

Community Discussion

No community discussion yet for this question.

Full SPLK-1001 Practice