Sha256: 32ea38e30ebb12d6b6befdfe23218d1cfdbfc39535b549dfa853130d74bc66a0

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

# 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>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-kubernetes_sumologic-2.3.2 conf.d/file/source.docker.conf
fluent-plugin-kubernetes_sumologic-2.3.1 conf.d/file/source.docker.conf
fluent-plugin-kubernetes_sumologic-0.0.1 conf.d/file/source.docker.conf