diff options
| author | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-08-17 18:20:04 +0200 |
|---|---|---|
| committer | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-08-17 18:21:16 +0200 |
| commit | 83baad304d359e17a5be3ad1e92f7cd31dc129e0 (patch) | |
| tree | b51c6c4eb88649288e525567f3bd4e21441acc81 | |
| parent | 8110b55d60540618bf0886a74e6ec9acdba33eb9 (diff) | |
| download | kolla-83baad304d359e17a5be3ad1e92f7cd31dc129e0.tar.gz kolla-83baad304d359e17a5be3ad1e92f7cd31dc129e0.zip | |
Fluentd: add fluent-plugin-concat:1.0.0 gem
Actual Fluentd config doesn't manage multiline log pattern like:
2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [req-34ea3f23-f780-4059-b911-2788ea4af7b2 - - - - -] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
). Its value may be silently ignored in the future.
This log will generate 1 Fluentd records for each line (3 records),
this is really a wrong behaviour, and made Kibana interface unusable.
This patch add fluent-plugin-concat in order to concatenate multiline
log separated in multiple events.
Change-Id: I83e583605b49b7c421109d662de1291f38bd5c07
Closes-Bug: #1711399
| -rw-r--r-- | docker/fluentd/Dockerfile.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/fluentd/Dockerfile.j2 b/docker/fluentd/Dockerfile.j2 index c823b8715..ad073f5d7 100644 --- a/docker/fluentd/Dockerfile.j2 +++ b/docker/fluentd/Dockerfile.j2 @@ -30,7 +30,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build # https://github.com/fluent/fluent-plugin-grok-parser RUN ulimit -n 65536 \ && sed -i -e "s/USER=td-agent/USER=root/" -e "s/GROUP=td-agent/GROUP=root/" /etc/init.d/td-agent \ - && td-agent-gem install fluent-plugin-parser fluent-plugin-kubernetes_metadata_filter fluent-plugin-elasticsearch fluent-plugin-grep fluent-plugin-grok-parser:0.3.1 fluent-plugin-rewrite-tag-filter \ + && td-agent-gem install fluent-plugin-concat:1.0.0 fluent-plugin-parser fluent-plugin-kubernetes_metadata_filter fluent-plugin-elasticsearch fluent-plugin-grep fluent-plugin-grok-parser:0.3.1 fluent-plugin-rewrite-tag-filter \ && rm -f /etc/td-agent/td-agent.conf COPY fluentd_sudoers /etc/sudoers.d/kolla_fluentd_sudoers |
