From e4189cd2e18c3f2f818310b5a6b6ec1811e00fc0 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 27 Jun 2019 18:04:09 +0200 Subject: [PATCH] ansible-roles/elasticsearch#15 Configure fluentd for xpack security --- templates/td-agent.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/td-agent.conf b/templates/td-agent.conf index 559d0fb..28f766f 100644 --- a/templates/td-agent.conf +++ b/templates/td-agent.conf @@ -276,6 +276,8 @@ @type elasticsearch host 127.0.0.1 port 9200 + user elastic + password {{ elasticsearch.users.elastic|default("") }} include_tag_key true tag_key @log_name index_name ansible @@ -294,6 +296,8 @@ @type elasticsearch host 127.0.0.1 port 9200 + user elastic + password {{ elasticsearch.users.elastic|default("") }} include_tag_key true tag_key @log_name index_name uptime @@ -312,6 +316,8 @@ @type elasticsearch host 127.0.0.1 port 9200 + user elastic + password {{ elasticsearch.users.elastic|default("") }} include_tag_key true tag_key @log_name index_name haproxy @@ -331,6 +337,8 @@ logstash_format true host 127.0.0.1 port 9200 + user elastic + password {{ elasticsearch.users.elastic|default("") }} include_tag_key true tag_key @log_name index_name fluentd -- GitLab