ES日志查询

GET /_search
{
  "_source": ["message"],
  "from": 0,
  "size": 50,
  "query": {
    "match_phrase": {
      "message": "PAYOUT CHECK OK"
    }
  },
  "sort": [
    {
      "@timestamp": {
        "order": "desc"
      }
    }
  ]
}

 

发表评论

邮箱地址不会被公开。