Splunk Core Certified User — Question 30

Which stats command function provides a count of how many unique values exist for a given field in the result set?

Answer options

Correct answer: A

Explanation

The correct answer is A, dc(field), which accurately counts the unique values for a specified field. The other options, such as count(field) and count-by(field), provide total counts rather than unique counts, while distinct-count(field) is a misleading option as it is not a valid stats command function in this context.