GET yi_cloud_ecs_monitor/_search
{
"query": {
"bool": {
"must": [
{"match": {
"instance_id": "i-88zcpeekx"
}}
],
"filter": {
"range": {
"collect_time": {
"gte": 1670428800000,
"lte": 1672329600000
}
}
}
}
},
"sort": {
"collect_time": {
"order": "desc"
}
}
}
标签:sort,组合,查询,collect,time,es From: https://www.cnblogs.com/yylwy/p/16968143.html