Created
May 18, 2016 05:13
-
-
Save markwalkom/4c748ad07c3f96701f3b13f3669475ea to your computer and use it in GitHub Desktop.
Via Kibana, only show documents that have a missing field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Via https://smelloworld.wordpress.com/2016/05/17/missing-fields-search-in-elasticsearch/ | |
{“query”:{“filtered”:{“query”:{“match_all”:{}},”filter”:{“missing”:{“field”:”FIELDNAME”}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment