SPLK-1002 · Question #182
Which search retrieves events with the event type web_errors?
The correct answer is B. eventtype=web_errors. In Splunk, event types are saved search categories assigned to groups of events. The correct syntax to search by event type is eventtype=<name>, making eventtype=web_errors the proper search. Option A is incorrect because tag= is used for tags, not event types. Option C…
Question
Which search retrieves events with the event type web_errors?
Options
- Atag=web_errors: This option uses the tag field, which is a way to add descriptive keywords to
- Beventtype=web_errors
- Ceventtype "web errors": This option uses quotation marks around the event type name, which
- Deventtype (web_errors): This option uses parentheses around the event type name, which is
How the community answered
(58 responses)- A3% (2)
- B90% (52)
- C2% (1)
- D5% (3)
Explanation
In Splunk, event types are saved search categories assigned to groups of events. The correct syntax to search by event type is eventtype=<name>, making eventtype=web_errors the proper search. Option A is incorrect because tag= is used for tags, not event types. Option C incorrectly uses quotation marks around the name with a space, which changes the name and is not valid syntax. Option D incorrectly uses parentheses, which have no meaning in this context.
Topics
Community Discussion
No community discussion yet for this question.