elastic: add more backend tests (#59312)
* elastic: added backend snapshot tests * linter fixes
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"aggs": {
|
||||
"3": {
|
||||
"aggs": {
|
||||
"2": {
|
||||
"date_histogram": {
|
||||
"extended_bounds": {
|
||||
"max": 1668422625668,
|
||||
"min": 1668422437218
|
||||
},
|
||||
"field": "testtime",
|
||||
"fixed_interval": "1m",
|
||||
"format": "epoch_millis",
|
||||
"min_doc_count": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"terms": {
|
||||
"field": "label",
|
||||
"order": {
|
||||
"_key": "desc"
|
||||
},
|
||||
"size": 10
|
||||
}
|
||||
}
|
||||
},
|
||||
"query": {
|
||||
"bool": {
|
||||
"filter": {
|
||||
"range": {
|
||||
"testtime": {
|
||||
"format": "epoch_millis",
|
||||
"gte": 1668422437218,
|
||||
"lte": 1668422625668
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"size": 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user