Created
November 5, 2017 17:28
-
-
Save shouhei/6fcbd7f7f5fe014fba5ea9497d4dd223 to your computer and use it in GitHub Desktop.
fluentd config template from docker logging driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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