Which search string returns a filed containing the number of matching events and names that field Event Count?

Which search string returns a filed containing the number of matching events and names that field Event Count?
A . index=security failure | stats sum as “Event Count”
B . index=security failure | stats count as “Event Count”
C . index=security failure | stats count by “Event Count”
D . index=security failure | stats dc(count) as “Event Count”

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments