Splunk Core Certified Power User — Question 197

Which of the following searches would return a report of sales by product_name?

Answer options

Correct answer: B

Explanation

The correct answer, B, uses the 'chart' command to aggregate the sum of prices and label it as sales, while grouping the results by product_name. Option A does not perform any aggregation, C uses 'stats' incorrectly for this context, and D is not suitable as it focuses on time-based charting rather than sales by product.