ExamGecko
Question list
Search
Search

Question 44 - SPLK-1004 discussion

Report
Export

A report named 'Linux logins' populates a summary index with the search string sourcetype=linux_secure| sitop src_ip user. Which of the following correctly searches against the summary index for this data?

A.
index=summary sourcetype='linux_secure' | top src_ip user
Answers
A.
index=summary sourcetype='linux_secure' | top src_ip user
B.
index=summary search_name='Linux logins' | top src_ip user
Answers
B.
index=summary search_name='Linux logins' | top src_ip user
C.
index=summary search_name='Linux logins' | stats count by src_ip user
Answers
C.
index=summary search_name='Linux logins' | stats count by src_ip user
D.
index=summary sourcetype='linux_secure' | stats count by src_ip user
Answers
D.
index=summary sourcetype='linux_secure' | stats count by src_ip user
Suggested answer: B

Explanation:

When searching against summary data in Splunk, it's common to reference the name of the saved search or report that populated the summary index. The correct search syntax to retrieve data from the summary index populated by a report named 'Linux logins' is index=summary search_name='Linux logins' | top src_ip user (Option B). This syntax uses the search_name field, which holds the name of the saved search or report that generated the summary data, allowing for precise retrieval of the intended summary data.

asked 23/09/2024
Reaper Gamer
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first