Skip to content

Instantly share code, notes, and snippets.

@ghaiklor
Created June 8, 2019 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghaiklor/f61557cbcefaa69b6a943f7c9ad30584 to your computer and use it in GitHub Desktop.
Save ghaiklor/f61557cbcefaa69b6a943f7c9ad30584 to your computer and use it in GitHub Desktop.
<source>
@type tail
tag kubernetes.containers.*
path /var/log/containers/*.log
  refresh_interval 2
  read_from_head true
  pos_file /var/log/fluentd-containers.log.pos
  rotate_wait 5
  enable_watch_timer true
  enable_stat_watcher false
  open_on_every_update false
<parse>
@type json
  time_format %Y-%m-%dT%H:%M:%S.%NZ
</parse>
</source>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment