From dd01ab773b97faf876589b7f91c422f8ad81940b Mon Sep 17 00:00:00 2001 From: Ildar Svetlov Date: Tue, 4 Jun 2019 15:49:57 +0400 Subject: [PATCH] Add ES https support for telegraf Change-Id: I8041de6b9ccb00edd95cb1aef3f9f436245de4ee Related-PROD: PROD-30841 --- elasticsearch/meta/telegraf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/meta/telegraf.yml b/elasticsearch/meta/telegraf.yml index 2fc3166..d73bb94 100644 --- a/elasticsearch/meta/telegraf.yml +++ b/elasticsearch/meta/telegraf.yml @@ -28,7 +28,7 @@ remote_agent: elasticsearch: template: elasticsearch/files/telegraf.conf servers: - - "http://{{ client.server.host }}:{{ client.server.get('port', 9200) }}" + - "{{ client.server.get('scheme', 'http') }}://{{ client.server.host }}:{{ client.server.get('port', 9200) }}" cluster_health: true cluster_stats: false local: false -- 2.32.7