Which Fields Does the fieldsummary Command Provide?
Which of the following fields are provided by the fieldsummary command? (Choose all that apply.)
Community Votes
100% of anonymous learners picked answer ABC. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The question tests exact output field names of the fieldsummary command, and the common trap is confusing the stats/eval function 'dc' (distinct count) with the fieldsummary output field 'distinct_count'.
Learn which fields are returned by Splunk's fieldsummary command, including count, stdev, mean, and distinct_count. Community consensus confirms the correct options are A, B, and C, because option D uses 'dc' instead of the actual output field 'distinct_count'.
Selecting D ('dc') is the most common mistake because 'dc' is a well-known alias for distinct count in stats and eventstats. However, fieldsummary returns a field named 'distinct_count', not 'dc', so D is incorrect.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The fieldsummary command produces summary statistics for each field in the search results. The official Splunk documentation lists the output fields, which include 'count', 'stdev', 'mean', and 'distinct_count'. Therefore, options A (count), B (stdev), and C (mean) are all valid fields returned by fieldsummary. These fields appear in the output as literal field names, so selecting them is correct.
Why the Other Options Are Wrong
Option D ('dc') is not an output field of the fieldsummary command. While 'dc()' is a function used with stats or eventstats to calculate distinct counts, the fieldsummary command names its corresponding output field 'distinct_count'. As comment [3] notes, "dc is not a field, it is distinct_count." Thus, D is incorrect because the option does not match the real field name.
Community Comment Notes
Community comments largely agree on ABC, with several referencing the official documentation. Comment [5] states "dc is not a field, it is distinct_count" and provides the docs link. Comment [3] reinforces this by explaining that while 'distinct_count' is valid, 'dc' is not. Comment [6] outright says "Correct answer is ABC." A minority comment [7] suggests only A and D, but that overlooks that stdev and mean are always returned as fields (with blank values for non-numeric fields), and it misinterprets 'dc' as a literal field name.
Official Reference
Exam Strategy
When a question asks about the output fields of a specific Splunk command, read each option literally versus the official command reference. Remember that fieldsummary returns 'distinct_count', not 'dc', and use the search command '| fieldsummary' in your own Splunk instance to confirm field names quickly.
Related Analysis
Practice All SPLK-1004 Questions
Access 130 questions with complete answers and detailed explanations.
View Full SPLK-1004 Practice Test →