mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Update sumologic fluentd collector to 2.4.2 Signed-off-by: Reilly Brogan <Reilly@procentive.com> * Ensure all fluentd config files end in newline Signed-off-by: Reilly Brogan <Reilly@procentive.com>
20 lines
750 B
Plaintext
20 lines
750 B
Plaintext
# 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
|
|
<source>
|
|
@type tail
|
|
format /^time="(?<time>[^)]*)" level=(?<severity>[^ ]*) msg="(?<message>[^"]*)"( err="(?<error>[^"]*)")?( statusCode=($<status_code>\d+))?/
|
|
time_format %Y-%m-%dT%H:%M:%S.%NZ
|
|
path /var/lib/docker.log
|
|
exclude_path "#{ENV['EXCLUDE_PATH']}"
|
|
pos_file /mnt/pos/ggcp-docker.log.pos
|
|
tag docker
|
|
enable_stat_watcher "#{ENV['ENABLE_STAT_WATCHER']}"
|
|
</source>
|
|
<filter docker.**>
|
|
@type kubernetes_sumologic
|
|
source_category docker
|
|
source_name k8s_docker
|
|
source_category_prefix "#{ENV['SOURCE_CATEGORY_PREFIX']}"
|
|
</filter>
|