Loading...

Exists Query

Search for logs which has a field datetime.keyword

GET logs/_search
{
  "query": {
    "exists" : { "field" : "datetime.keyword" }
  }
}