Merge "Add Elasticsearch to Grafana"

This commit is contained in:
Jenkins 2017-07-26 20:43:06 +00:00 committed by Gerrit Code Review
commit 5c78a82ec5
1 changed files with 11 additions and 0 deletions

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