elastic: add more backend tests (#59312)

* elastic: added backend snapshot tests

* linter fixes
This commit is contained in:
Gábor Farkas
2022-11-28 14:59:57 +01:00
committed by GitHub
parent a7b2943dd1
commit f1dfaa784a
20 changed files with 1818 additions and 3 deletions
@@ -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
}