[ { "refId": "a", "datasource": { "uid": "haha", "type": "elasticsearch" }, "datasourceId": 42, "query": "", "alias": "", "metrics": [{ "id": "1", "type": "max", "field": "float" }], "bucketAggs": [ { "type": "date_histogram", "id": "2", "settings": { "interval": "auto" }, "field": "testtime" } ], "intervalMs": 1000, "interval": 1000000000, "maxDataPoints": 814 }, { "datasource": { "uid": "haha", "type": "elasticsearch" }, "datasourceId": 42, "refId": "b", "hide": false, "query": "", "alias": "", "metrics": [{ "id": "1", "type": "min", "field": "float" }], "bucketAggs": [ { "type": "date_histogram", "id": "2", "settings": { "interval": "auto" }, "field": "testtime" } ], "intervalMs": 1000, "interval": 1000000000, "maxDataPoints": 814 } ]