QuestionQ204Verified/Basic SearchingCopy linkReport a problemAsk AstroTutorSave questionWhat does the following search return? index=myindex source=c:\mydata.txt NOT error=*AOnly data where the value of the field error does not equal an asterisk (*) will be displayed.BOnly data that does not contain the error field will be displayed.COnly data with a value in the field error will be displayed.DOnly data where the error field is present and does not contain a value will be displayed.Show AnswerAnswerExplanationIn 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 documentationLearn moreSplunk search command: UsageShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion