elasticsearch / kibana 4: field exists but is not equal to a value elasticsearch / kibana 4: field exists but is not equal to a value elasticsearch elasticsearch

elasticsearch / kibana 4: field exists but is not equal to a value


The query you're looking for is this one:

_exists_:status_code AND NOT status_code:200

This link shows you all what's supported by query string queries.


The previous answer is exactly what I asked for, however, this can also be useful:

 status_code:[300 TO 600]