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,37 @@
{
"size": 0,
"query": {
"bool": {
"filter": {
"range": {
"testtime": {
"gte": 1668422437218,
"lte": 1668422625668,
"format": "epoch_millis"
}
}
}
}
},
"aggs": {
"2": {
"date_histogram": {
"field": "testtime",
"min_doc_count": 0,
"extended_bounds": {
"min": 1668422437218,
"max": 1668422625668
},
"format": "epoch_millis",
"fixed_interval": "1000ms"
},
"aggs": {
"1": {
"max": {
"field": "float"
}
}
}
}
}
}