SPLK-1002 · Question #288
Which of the following can be saved as an event type?
The correct answer is C. index=server_485 sourcetype=BETA_726 code=917. Only option C (index=server_485 sourcetype=BETA_726 code=917) can be saved as an event type because it is a plain filtering search with no pipe (|) commands. Splunk requires that event types be based on searches without transforming commands or subsearches. Option A contains a su
Question
Which of the following can be saved as an event type?
Options
- Aindex=server_485 sourcetype=BETA_726 code=917 ['inputlookup append=t servercode.csv]
- Bindex=server_485 sourcetype=BETA_726 code=917 | stats where code > 200
- Cindex=server_485 sourcetype=BETA_726 code=917
- Dindex=server_485 sourcetype=BETA_726 code=917 | stats count by code
How the community answered
(34 responses)- A3% (1)
- B3% (1)
- C88% (30)
- D6% (2)
Explanation
Only option C (index=server_485 sourcetype=BETA_726 code=917) can be saved as an event type because it is a plain filtering search with no pipe (|) commands. Splunk requires that event types be based on searches without transforming commands or subsearches. Option A contains a subsearch (['inputlookup ...]), option B contains a stats command, and option D contains a stats command - all of which disqualify them from being saved as event types.
Topics
Community Discussion
No community discussion yet for this question.