Created
July 31, 2019 17:01
-
-
Save cutecycle/1fc718d6b722c6b410e0ea5959024ac3 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 *corp-api*> | |
@type file | |
path /fluentd/company/tomcat7/catalina.out | |
<buffer> | |
timekey_wait 0s | |
@type file | |
path /fluentd/company/tomcat7/ | |
</buffer> | |
<format> | |
@type single_value | |
message_key log | |
</format> | |
</match> | |
<match 032jf029jf09ajsf0a9j> | |
@type file | |
path /fluentd/company/nginx | |
</match> | |
<match *corp-edge-router*> | |
@type copy | |
<store> | |
@type file | |
path /fluentd/company/nginx/error.log | |
<buffer> | |
timekey_wait 0s | |
@type file | |
path /fluentd/company/nginx-access/ | |
</buffer> | |
</store> | |
<store> | |
@type file | |
path /fluentd/company/nginx/error.log | |
<buffer> | |
<filter stderr> | |
@type grep | |
<exclude> | |
message source | |
pattern /stdout/ | |
</exclude> | |
</filter> | |
timekey_wait 0s | |
@type file | |
path /fluentd/company/nginx-error/ | |
</buffer> | |
</store> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment