Skip to content

Instantly share code, notes, and snippets.

@shouhei
Created November 5, 2017 17:28
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 shouhei/6fcbd7f7f5fe014fba5ea9497d4dd223 to your computer and use it in GitHub Desktop.
Save shouhei/6fcbd7f7f5fe014fba5ea9497d4dd223 to your computer and use it in GitHub Desktop.
fluentd config template from docker logging driver
<source>
type forward
port 24224
bind 0.0.0.0
</source>
<match stdout.**>
@type stdout
</match>
<match stderr.**>
@type stdout
</match>
<match docker.**>
@type rewrite_tag_filter
rewriterule1 source ^(stdout|stderr)$ $1.${tag}
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment