ExamGecko
Question list
Search
Search

Question 260 - SPLK-1002 discussion

Report
Export

Which of the following searches can be used to define an event type?

A.
index=games sourcetype=score [search index=players | fields player_id]
Answers
A.
index=games sourcetype=score [search index=players | fields player_id]
B.
index=games sourcetype=score I where score>9999
Answers
B.
index=games sourcetype=score I where score>9999
C.
index=games sourcetype=score player=* score>9999
Answers
C.
index=games sourcetype=score player=* score>9999
D.
index=games sourcetype=score I stats count by player
Answers
D.
index=games sourcetype=score I stats count by player
Suggested answer: C

Explanation:

An event type in Splunk is defined by a search string that returns a specific set of events. The search string index=games sourcetype=score player=* score>9999 is valid because it filters events based on specific criteria directly within the main search command. This search will find all events in the games index with a sourcetype of score, where the player field exists, and the score is greater than 9999. This specificity and direct filtering make it suitable for defining an event type.

Splunk Docs: Create event types

asked 23/09/2024
Ishan Patel
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first