Show answerHide answer
Correct answer: A Table
Explanation
Explanation:The stats command in Splunk calculates aggregate statistics such as count, sum, avg, or values. When executed, Splunk displays the results in a tabular format (rows and columns) by default. Each unique combination of fields in the by clause becomes a row, and each aggregation function becomes a column. No chart is generated unless the user explicitly clicks a visualization option in the Splunk interface or uses a charting command like chart or timechart. The default output of stats is strictly a table.
Why Other Options Are Incorrect
B. Report
– A report is a saved search that can be scheduled or shared. The stats command does not automatically create a report; it simply produces a result set. A user must manually save the search as a report.
C. Pie chart
– A pie chart is a specific visualization type. The stats command produces a table, not any kind of chart. Splunk only generates charts when the search includes commands like chart or timechart, or when the user manually selects a chart type from the Visualization picker. There is no scenario where stats alone outputs a pie chart by default.
References
Splunk Documentation: "stats command" –
explicitly states that stats returns results in tabular format. Splunk Core Certified Power User Exam Blueprint (SPLK-1002) lists that stats produces a table by default, while chart and timechart are used for graphical outputs.
