From bcf9cb9f315b2cb48c76ca86458e33b413e684ce Mon Sep 17 00:00:00 2001 From: ReillyProcentive Date: Tue, 10 Dec 2019 13:02:05 -0600 Subject: [PATCH] [stable/sumologic-fluentd] Update sumologic fluentd collector to 2.4.2 (#16871) * Update sumologic fluentd collector to 2.4.2 Signed-off-by: Reilly Brogan * Ensure all fluentd config files end in newline Signed-off-by: Reilly Brogan --- stable/sumologic-fluentd/Chart.yaml | 4 +- .../files/file.source.containers.conf | 59 ++ .../files/file.source.docker.conf | 19 + .../files/file.source.kubernetes.conf | 140 +++ .../sumologic-fluentd/files/fluent.file.conf | 11 + .../files/fluent.forward.conf | 16 + .../files/fluent.systemd.conf | 11 + stable/sumologic-fluentd/files/out.sumo.conf | 13 + .../files/systemd.source.containers.conf | 45 + .../files/systemd.source.systemd.conf | 992 ++++++++++++++++++ .../templates/configmap-user.yaml | 16 + .../templates/configmap.yaml | 14 +- .../templates/daemonset.yaml | 12 +- stable/sumologic-fluentd/values.yaml | 2 +- 14 files changed, 1341 insertions(+), 13 deletions(-) create mode 100644 stable/sumologic-fluentd/files/file.source.containers.conf create mode 100644 stable/sumologic-fluentd/files/file.source.docker.conf create mode 100644 stable/sumologic-fluentd/files/file.source.kubernetes.conf create mode 100644 stable/sumologic-fluentd/files/fluent.file.conf create mode 100644 stable/sumologic-fluentd/files/fluent.forward.conf create mode 100644 stable/sumologic-fluentd/files/fluent.systemd.conf create mode 100644 stable/sumologic-fluentd/files/out.sumo.conf create mode 100644 stable/sumologic-fluentd/files/systemd.source.containers.conf create mode 100644 stable/sumologic-fluentd/files/systemd.source.systemd.conf create mode 100644 stable/sumologic-fluentd/templates/configmap-user.yaml diff --git a/stable/sumologic-fluentd/Chart.yaml b/stable/sumologic-fluentd/Chart.yaml index 2db2c4438f..04b340b2d7 100755 --- a/stable/sumologic-fluentd/Chart.yaml +++ b/stable/sumologic-fluentd/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: sumologic-fluentd -version: 2.0.1 -appVersion: 2.3.0 +version: 2.1.0 +appVersion: 2.4.2 kubeVersion: ">=1.10.0-0" description: Sumologic Log Collector keywords: diff --git a/stable/sumologic-fluentd/files/file.source.containers.conf b/stable/sumologic-fluentd/files/file.source.containers.conf new file mode 100644 index 0000000000..1b75ac8614 --- /dev/null +++ b/stable/sumologic-fluentd/files/file.source.containers.conf @@ -0,0 +1,59 @@ + + @type tail + format json + time_key "#{ENV['TIME_KEY']}" + path "#{ENV['CONTAINER_LOGS_PATH']}" + exclude_path "#{ENV['EXCLUDE_PATH']}" + pos_file /mnt/pos/ggcp-containers.log.pos + time_format %Y-%m-%dT%H:%M:%S.%NZ + tag containers.* + read_from_head "#{ENV['READ_FROM_HEAD']}" + enable_stat_watcher "#{ENV['ENABLE_STAT_WATCHER']}" + + + @type concat + key log + multiline_start_regexp "#{ENV['MULTILINE_START_REGEXP']}" + separator "#{ENV['CONCAT_SEPARATOR']}" + timeout_label @NORMAL + + + @type relabel + @label @NORMAL + + diff --git a/stable/sumologic-fluentd/files/file.source.docker.conf b/stable/sumologic-fluentd/files/file.source.docker.conf new file mode 100644 index 0000000000..b69d13b59a --- /dev/null +++ b/stable/sumologic-fluentd/files/file.source.docker.conf @@ -0,0 +1,19 @@ +# Examples: +# time="2016-02-04T06:51:03.053580605Z" level=info msg="GET /containers/json" +# time="2016-02-04T07:53:57.505612354Z" level=error msg="HTTP Error" err="No such image: -f" statusCode=404 + + @type tail + format /^time="(?