SPLK-1001 · Question #187
Which of the following is the appropriately formatted SPL search?
The correct answer is A. index=security sourcetype=linux secure (invalid OR failed) | stats count as "Potential Issues". This is the appropriately formatted SPL search because it follows the SPL syntax rules12, such Using the = operator to specify field-value pairs, such as index=security and sourcetype=linux. Using the OR operator to combine multiple values for the same field, such as (invalid…
Question
Which of the following is the appropriately formatted SPL search?
Options
- Aindex=security sourcetype=linux secure (invalid OR failed) | stats count as "Potential Issues"
- Bindex=security sourcetype=linux secure (invalid OR failed) | stats as "Potential Issues"
- Cindex--security sourcetype=linux secure (invalid OR failed) | count stats as "Potential Issues"
- Dindex--security sourcetype=linux secure (invalid OR failed) | count as "Potential Issues"
How the community answered
(55 responses)- A75% (41)
- B4% (2)
- C7% (4)
- D15% (8)
Explanation
This is the appropriately formatted SPL search because it follows the SPL syntax rules12, such Using the = operator to specify field-value pairs, such as index=security and sourcetype=linux. Using the OR operator to combine multiple values for the same field, such as (invalid OR failed). Using the | character to separate commands, such as stats count as "Potential Issues". Using the as keyword to rename fields, such as count as "Potential Issues".
Topics
Community Discussion
No community discussion yet for this question.