mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 16:57:14 -06:00
57425234c9
* elastic: backend: removed unused time-field * improve comment formatting Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
45 lines
771 B
JSON
45 lines
771 B
JSON
[
|
|
{
|
|
"alias": "",
|
|
"bucketAggs": [
|
|
{
|
|
"field": "label",
|
|
"id": "3",
|
|
"settings": {
|
|
"min_doc_count": "1",
|
|
"order": "desc",
|
|
"orderBy": "_term",
|
|
"size": "10"
|
|
},
|
|
"type": "terms"
|
|
},
|
|
{
|
|
"field": "testtime",
|
|
"id": "2",
|
|
"settings": {
|
|
"interval": "1m"
|
|
},
|
|
"type": "date_histogram"
|
|
}
|
|
],
|
|
"datasource": {
|
|
"type": "elasticsearch",
|
|
"uid": "haha"
|
|
},
|
|
"datasourceId": 42,
|
|
"expression": "",
|
|
"hide": true,
|
|
"intervalMs": 200,
|
|
"maxDataPoints": 1248,
|
|
"metrics": [
|
|
{
|
|
"id": "1",
|
|
"type": "count"
|
|
}
|
|
],
|
|
"query": "",
|
|
"refId": "a",
|
|
"window": ""
|
|
}
|
|
]
|