Elasticsearch search api —— example

GET *-website-*/_search
{
  "query": 
  {
    "bool": {
      "filter":[{
        "match_phrase":{
          "XB3TraceId":"a0228cccb8684d698cd11258ef8a24ae"
        }
      }]
    }
  },
  "size": 500,
  "sort": [
    {
      "@timestamp":"asc"
    }
  ]
}

  

官方文档:

原文地址:https://www.cnblogs.com/panpanwelcome/p/15012416.html