QuestionQ44

VerifiedSearch Language Fundamentals

Will the following queries produce the same result?

  1. index=log sourcetype=error_log status !=100
  2. index=log sourcetype=error_log NOT status =100
Explanation

status!=100 requires a status field value that is not 100, whereas NOT status=100 can also include events in which status is not present. The result sets are therefore not necessarily the same.

Community Discussion

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