QuestionQ204

VerifiedBasic Searching

What does the following search return?

index=myindex source=c:\mydata.txt NOT error=*

Explanation

In Splunk, error=* matches events that contain the error field. NOT error=* therefore returns only events in which the error field is absent. Splunk search command documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!