SPLK-1002 · Question #249
SPLK-1002 Question #249: Real Exam Question with Answer & Explanation
The correct answer is C: stats count (vendor_action). The stats command calculates statistics based on fields in the events. The count function counts the number of events that match the criteria. The syntax is stats count (field_name), where field_name is the name of the field that contains the value to be counted. In this case, ve
Question
What is the correct syntax to count the number of events containing a vendor_action field?
Options
- Acount stats vendor_action
- Bcount stats (vendor_action)
- Cstats count (vendor_action)
- Dstats vendor_action (count)
Explanation
The stats command calculates statistics based on fields in the events. The count function counts the number of events that match the criteria. The syntax is stats count (field_name), where field_name is the name of the field that contains the value to be counted. In this case, vendor_action is the field name, so stats count (vendor_action) is the correct syntax.
Topics
Community Discussion
No community discussion yet for this question.