Splunk Core Certified User — Question 186

What is the result of the following search?
index=myindex source=c:\mydata.txt NOT error=*

Answer options

Correct answer: B

Explanation

The correct answer is B because the search command specifies 'NOT error=*', which means it will exclude any entries that have the error field populated. The other options incorrectly interpret the logic of the search, either including data that should be excluded or misrepresenting the conditions of the error field.