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

官方文档:
Elasticsearch search api —— example
原文:https://www.cnblogs.com/panpanwelcome/p/15012416.html