From b5edf892bbf43bb31d6d7cd22d8e3adff1a38cf5 Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Wed, 9 Oct 2019 18:25:19 +0200
Subject: [PATCH] change fluentd config

---
 deploy/docker/cluster/scripts/fluentd.conf.tpl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/deploy/docker/cluster/scripts/fluentd.conf.tpl b/deploy/docker/cluster/scripts/fluentd.conf.tpl
index 839bfedce..a46d06383 100644
--- a/deploy/docker/cluster/scripts/fluentd.conf.tpl
+++ b/deploy/docker/cluster/scripts/fluentd.conf.tpl
@@ -17,6 +17,7 @@
 <filter asapo.docker>
   @type parser
   key_name log
+
   format json
   time_format %Y-%m-%d %H:%M:%S.%N
   reserve_data true
@@ -37,14 +38,15 @@
 {{ if eq $use_logs "true"}}
   <store>
   @type elasticsearch
-  hosts localhost:8400/elasticsearch
+  host localhost
+  port 8400
+  path /elasticsearch/
   flush_interval 5s
   logstash_format true
   time_key_format %Y-%m-%dT%H:%M:%S.%N
   time_key time
   time_key_exclude_timestamp true
   buffer_type memory
-  flush_interval 1s
   </store>
 {{ end }}
   <store>
-- 
GitLab