SPLK-1002 · Question #274
When creating an event type, which is allowed in the search string?
The correct answer is C. Subsearches. In Splunk, an event type search string may contain subsearches (a search nested in square brackets). However, event type definitions have strict restrictions: they cannot contain pipes (|), join commands, or tags (tags would create circular references since tags reference event t
Question
When creating an event type, which is allowed in the search string?
Options
- ATags
- BJoins
- CSubsearches
- DPipes
How the community answered
(35 responses)- A6% (2)
- C91% (32)
- D3% (1)
Explanation
In Splunk, an event type search string may contain subsearches (a search nested in square brackets). However, event type definitions have strict restrictions: they cannot contain pipes (|), join commands, or tags (tags would create circular references since tags reference event types). Subsearches are permitted because they are resolved to a static set of values before the outer search runs, making them compatible with the event type definition mechanism.
Topics
Community Discussion
No community discussion yet for this question.