Splunk Core Certified Power User — Question 192
What does the following search do?
index=corndog type= mysterymeat action=eaten | stats count as corndog_count by user
Answer options
- 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.
- 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.
Correct answer: B
Explanation
The correct answer is B because the search specifically filters for 'mysterymeat' corndogs and counts them by user. Option A is incorrect as it refers to users rather than corndogs, while C incorrectly suggests that it counts all types of corndogs rather than just 'mysterymeat'. Option D is also wrong because it introduces vegetarian corndogs, which are not mentioned in the original search.