diff --git a/deploy/docker/cluster/scripts/fluentd.conf.tpl b/deploy/docker/cluster/scripts/fluentd.conf.tpl index 839bfedce01e70e7f28271a8b59ea4f5d1f0ff7a..a46d063838dc19462084e5a60a60b886f6f5c659 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>