Reputation: 4329
This query works great from Kibana's Console:
GET /_search
{
"query": {
"query_string": {
"query": "_exists_:my.field"
}
}
}
However if I search for _exists_:my.field
in the Lucene search box on the Discover tab, I get no results.
Upvotes: 2
Views: 5814
Reputation: 4329
Either:
Disable the new search syntax and revert to Lucene syntax, where this query works. This is under the "Options" button at the far right of the search field.
Use the new syntax, where the query is instead my.field:*
.
Upvotes: 4