From b34c33821f4c3709eac60c867bb2cf809894586a Mon Sep 17 00:00:00 2001 From: Daniel Hartnell Date: Sun, 7 Oct 2018 16:18:19 -0700 Subject: [PATCH] adding first draft of CloudWatch log exporter --- cluster-conf/logging/fluentd-cloudwatch.yaml | 286 +++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 cluster-conf/logging/fluentd-cloudwatch.yaml diff --git a/cluster-conf/logging/fluentd-cloudwatch.yaml b/cluster-conf/logging/fluentd-cloudwatch.yaml new file mode 100644 index 000000000..5fa4e0895 --- /dev/null +++ b/cluster-conf/logging/fluentd-cloudwatch.yaml @@ -0,0 +1,286 @@ +--- +# Source: fluentd-cloudwatch/templates/configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: fluentd-cloudwatch + labels: + app: fluentd-cloudwatch + chart: "fluentd-cloudwatch-0.5.1" + heritage: "Tiller" + release: "fluentd-cloudwatch-0.5.1" +data: + fluent.conf: | + + type null + + + + type tail + enable_stat_watcher false + path /var/log/containers/*.log + pos_file /var/log/fluentd-containers.log.pos + time_format %Y-%m-%dT%H:%M:%S.%NZ + tag kubernetes.* + format json + read_from_head true + + + + type tail + enable_stat_watcher false + format /^(?