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

Posted by: Pdfprep Category: SPLK-1001 Tags: , ,

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

Leave a Reply

Your email address will not be published.