Created
August 1, 2019 20:30
-
-
Save cutecycle/f99d376a4286301d8b3e7e6448caa973 to your computer and use it in GitHub Desktop.
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 *image-mover-api*> | |
@type file | |
path /fluentd/imagemover/tomcat7/catalina.out | |
<buffer> | |
timekey_wait 0s | |
@type file | |
path /fluentd/imagemover/tomcat7/ | |
</buffer> | |
<format> | |
@type single_value | |
message_key log | |
</format> | |
</match> | |
<match 032jf029jf09ajsf0a9j> | |
@type file | |
path /fluentd/imagemover/nginx | |
</match> | |
<match image-mover-edge-router*> | |
@type rewrite_tag_filter | |
log_level debug | |
<rule> | |
key source | |
pattern /stdout/ | |
tag ${tag}.stdout | |
</rule> | |
<rule> | |
key source | |
pattern /stderr/ | |
tag ${tag}.stderr | |
</rule> | |
</match> | |
<match *image-mover-edge-router*stdout> | |
@type copy | |
<store> | |
@type file | |
path /fluentd/imagemover/nginx/access.log | |
<buffer> | |
timekey_wait 0s | |
@type file | |
path /fluentd/imagemover/nginx-access/ | |
</buffer> | |
</store> | |
</match> | |
<match image-mover-edge-router*stderr> | |
@type copy | |
<store> | |
@type file | |
path /fluentd/imagemover/nginx/error.log | |
<buffer> | |
timekey_wait 0s | |
@type file | |
path /fluentd/imagemover/nginx-error/ | |
</buffer> | |
</store> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment