Fix bugs in ES Grafana dashboard
Change-Id: I6aeb8ebe3ccf1ad6e753339a98efaa9811c92757
diff --git a/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json b/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json
index bfb92dd..f490248 100644
--- a/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json
+++ b/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json
@@ -1863,10 +1863,10 @@
"multi": false,
"name": "host",
"options": [],
- "query": "query_result(elasticsearch_os_load_average)",
+ "query": "query_result(elasticsearch_up)",
"refresh": 1,
"refresh_on_load": true,
- "regex": ".*,host=\"(.+?\\d+)\".*",
+ "regex": ".*host=\"(.+?\\d+)\".*",
"sort": 1,
"tagValuesQuery": "",
"tags": [],