Skip to content

Instantly share code, notes, and snippets.

@nmische
Created July 1, 2013 20:31
Show Gist options
  • Save nmische/5904322 to your computer and use it in GitHub Desktop.
Save nmische/5904322 to your computer and use it in GitHub Desktop.
Trying to exclude "-".
{
"query": {
"bool": {
"must": {
"match": {
"@type": "apache"
}
},
"must_not": {
"match": {
"user-agent": "-"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment