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

Which stats command function provides a count of how many unique values exist for a given field in the result set?
A . dc(field)
B . count(field)
C . count-by(field)
D . distinct-count(field)

Answer: A

Explanation:

Reference: https://docs.splunk.com/Documentation/Splunk/7.2.6/Search/Usethestatscommandandfunctions

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments