ExamGecko
Question list
Search
Search

Question 18 - SPLK-1002 discussion

Report
Export

What does the following search do?

A.
Creates a table of the total count of users and split by corndogs.
Answers
A.
Creates a table of the total count of users and split by corndogs.
B.
Creates a table of the total count of mysterymeat corndogs split by user.
Answers
B.
Creates a table of the total count of mysterymeat corndogs split by user.
C.
Creates a table with the count of all types of corndogs eaten split by user.
Answers
C.
Creates a table with the count of all types of corndogs eaten split by user.
D.
Creates a table that groups the total number of users by vegetarian corndogs.
Answers
D.
Creates a table that groups the total number of users by vegetarian corndogs.
Suggested answer: B

Explanation:

The search string below creates a table of the total count of mysterymeat corndogs split by user.

| stats count by user | where corndog=mysterymeat

The search string does the following:

It uses the stats command to calculate the count of events for each value of the user field. The stats command creates a table with two columns: user and count.

It uses the where command to filter the results by the value of the corndog field. The where command only keeps the rows where corndog equals mysterymeat.

Therefore, the search string creates a table of the total count of mysterymeat corndogs split by user.

asked 23/09/2024
Yusuf E
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first