parameterize elasticsearch port

This commit is contained in:
Pim Kunis 2023-08-08 12:52:47 +02:00
parent a7872afdd8
commit 06c3fc56ab

View file

@ -5,7 +5,7 @@ datasources:
- name: cpu - name: cpu
type: elasticsearch type: elasticsearch
access: proxy access: proxy
url: http://maestro.dmz:14653 url: http://maestro.dmz:{{ elasticsearch_port }}
jsonData: jsonData:
index: 'fluentd.cpu' index: 'fluentd.cpu'
timeField: '@timestamp' timeField: '@timestamp'
@ -13,7 +13,7 @@ datasources:
- name: memory - name: memory
type: elasticsearch type: elasticsearch
access: proxy access: proxy
url: http://maestro.dmz:14653 url: http://maestro.dmz:{{ elasticsearch_port }}
jsonData: jsonData:
index: 'fluentd.memory' index: 'fluentd.memory'
timeField: '@timestamp' timeField: '@timestamp'