Add Elasticsearch to Grafana

This patch adds Elasticsearch to Grafana as a data source

Change-Id: I7c6452bba47274f9d971b8000e9d3e911617874d
This commit is contained in:
Mathias Ewald 2017-07-24 20:38:48 +00:00
parent ca5c48bd2f
commit f4e7b3af7f

View File

@ -34,6 +34,17 @@ grafana_data_sources:
url: "{{ internal_protocol }}://{{ api_interface_address }}:{{ influxdb_http_port }}"
access: "proxy"
basicAuth: false
elasticsearch:
enabled: "{{ enable_elasticsearch | bool }}"
data:
name: "elasticsearch"
type: "elasticsearch"
access: "proxy"
url: "{{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ elasticsearch_port }}"
database: "flog-*"
jsonData:
esVersion: 5
timeField: "@timestamp"
##########
# Grafana