mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
0973501233
* Elasticsearch: Fix ordering in raw_document and add logic for raw_data * Add comments * Fix raw data request to use correct timefield * Fix linting * Add raw data as metric type * Fix linting * Hopefully fix lint
30 lines
572 B
JSON
30 lines
572 B
JSON
{
|
|
"docvalue_fields": [
|
|
"testtime"
|
|
],
|
|
"query": {
|
|
"bool": {
|
|
"filter": {
|
|
"range": {
|
|
"testtime": {
|
|
"format": "epoch_millis",
|
|
"gte": 1668422437218,
|
|
"lte": 1668422625668
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"script_fields": {},
|
|
"size": 500,
|
|
"sort":
|
|
{
|
|
"testtime": {
|
|
"order": "desc",
|
|
"unmapped_type": "boolean"
|
|
},
|
|
"_doc": {
|
|
"order": "desc"
|
|
}
|
|
}
|
|
} |