我有一个查询分析。数据量大。查询分组全年数据。按照时间间隔20分钟进行分组求最大值,如何设置这个分组的桶聚合不返回
"monitor_time_interval": {
"date_histogram": {
"field": "monitorTime",
"fixed_interval": "20m",
"offset": 0,
"order": {
"_key": "asc"
},
"keyed": false,
"min_doc_count": 0
}
"monitor_time_interval": {
"date_histogram": {
"field": "monitorTime",
"fixed_interval": "20m",
"offset": 0,
"order": {
"_key": "asc"
},
"keyed": false,
"min_doc_count": 0
}
0 个回复