SPLK-1002 Exam QuestionsBrowse all questions from this exam

SPLK-1002 Exam - Question 100


What is the correct syntax to find events associated with a tag?

Show Answer
Correct Answer: D

The correct syntax to find events associated with a tag is tag=<value>. This syntax searches for all events that have the specified tag, regardless of the fields associated with it.

Discussion

9 comments
Sign in to comment
kgcykyzoxjxhvfazjeOption: A
Dec 2, 2022

The answers here have a typo. The actual answer is A, bit with an extra colon. In the test it said tag::<field>=value, which is the correct answer.

kgcykyzoxjxhvfazje
Dec 2, 2022

tag::<field>=<value> I mean, that was one of the answersing possibilities in the test.

kirtak
Apr 11, 2023

Search for tagged field values You have two ways to search for tags. To search for a tag associated with a value in any field, use the following syntax: tag=<tagname> To search for a tag associated with a value in a specific field, use the following syntax: tag::<field>=<tagname>

ergrilOption: D
Oct 6, 2022

https://docs.splunk.com/Documentation/Splunk/9.0.1/Knowledge/Abouttagsandaliases To search for all routers in San Francisco that are not in Building1, use the following search. tag=router tag=SF NOT (tag=Building1)

shergarOption: D
Oct 21, 2022

See link posted by ergril

xprienceOption: A
Sep 3, 2022

A is right

TestingAccount900
Sep 21, 2022

Technically none of them are correct, there is only a single :, should be ::

BrycedreamOption: B
Sep 28, 2022

B. tags=<value> seems to be OK

Brycedream
Sep 28, 2022

No D without "s" on tag D. tag=<value>

Dree_DoggOption: D
Aug 16, 2023

Correct answer is D

Dree_DoggOption: D
Aug 16, 2023

Answer is D. kirtak's explaination is spot on.

ISDL29Option: D
Aug 21, 2023

I think it's D because you search for all events with that tag, regardless of the fields that are associated with that.