SPLK-1002 · Question #85
Which search would limit an "alert" tag to the "host" field?
The correct answer is D. tag::host=alert. The search below would limit an "alert" tag to the "host" field. The search does the following: It uses tag syntax to filter events by tags. Tags are custom labels that can be applied to fields or field values to provide additional context or meaning for your data. It specifies…
Question
Which search would limit an "alert" tag to the "host" field?
Options
- Atag=alert
- Bhost::tag::alert
- Ctag==alert
- Dtag::host=alert
How the community answered
(45 responses)- A4% (2)
- B2% (1)
- C4% (2)
- D89% (40)
Explanation
The search below would limit an "alert" tag to the "host" field. The search does the following: It uses tag syntax to filter events by tags. Tags are custom labels that can be applied to fields or field values to provide additional context or meaning for your data. It specifies tag::host=alert as the tag filter. This means that it will only return events that have an "alert" tag applied to their host field or host field value. It uses an equal sign (=) to indicate an exact match between the tag and the field or field value.
Topics
Community Discussion
No community discussion yet for this question.