Which of the following searches would return a report of sales by product-name?
A . chart sales by product_name
B . chart sum(price) as sales by product_name
C . stats sum(price) as sales over product_name
D . timechart list(sales), values(product_name)
Answer: B
Explanation:
https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/Chart
https://docs.splunk.com/Documentation/Splunk/8.1.0/SearchReference/Stats