{ "__inputs": [], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.5.11" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Retrieves the cluster’s index aliases, including filter and routing information. The API does not return data stream aliases.", "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "iteration": 1639752893886, "links": [], "panels": [ { "collapsed": false, "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 109, "panels": [], "repeat": null, "title": "Aliases", "type": "row" }, { "datasource": "$source", "description": "/_cat/alias \n\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/cat-alias.html", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 }, { "color": "#EAB839", "value": 3 }, { "color": "#6ED0E0", "value": 5 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 5, "w": 3, "x": 0, "y": 1 }, "id": 111, "maxPerRow": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "7.5.11", "repeat": "alias", "repeatDirection": "h", "targets": [ { "expr": "count(elasticsearch_cat_aliases_info{cluster=~\"$cluster\", index=~\"$index\", alias=~\"$alias\"})", "interval": "", "legendFormat": "Alias {{$alias}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Alias: $alias", "type": "stat" } ], "refresh": false, "schemaVersion": 27, "style": "dark", "tags": [ "elasticsearch", "aliases" ], "templating": { "list": [ { "current": { "selected": false, "text": "monitoring-prometheus", "value": "monitoring-prometheus" }, "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "source", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": null, "current": {}, "datasource": "$source", "definition": "label_values(elasticsearch_cluster_health_number_of_nodes, cluster)", "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "cluster", "options": [], "query": { "query": "label_values(elasticsearch_cluster_health_number_of_nodes, cluster)", "refId": "monitoring-prometheus-cluster-Variable-Query" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": {}, "datasource": "$source", "definition": "query_result(increase(elasticsearch_cat_aliases_info{cluster=\"$cluster\"}[${__range_s}s]))\n", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "index", "options": [], "query": { "query": "query_result(increase(elasticsearch_cat_aliases_info{cluster=\"$cluster\"}[${__range_s}s]))\n", "refId": "monitoring-prometheus-index-Variable-Query" }, "refresh": 2, "regex": ".*index=\"(.+?)\".*", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "$source", "definition": "query_result(increase(elasticsearch_cat_aliases_info{cluster=\"$cluster\"}[${__range_s}s]))\n", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": false, "name": "alias", "options": [], "query": { "query": "query_result(increase(elasticsearch_cat_aliases_info{cluster=\"$cluster\"}[${__range_s}s]))\n", "refId": "monitoring-prometheus-alias-Variable-Query" }, "refresh": 2, "regex": ".*alias=\"(.+?)\".*", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "Elasticsearch Exporter: /_cat/aliases", "uid": "8nZESD1Mk", "version": 31 }