Answers for "elasticsearch api date range"

0

elasticsearch api date range

GET /_search
{
  "query": {
    "range": {
      "timestamp": {
        "gte": "now-1d/d",
        "lt": "now/d"
      }
    }
  }
}
Posted by: Guest on November-28-2020

Browse Popular Code Answers by Language