Created
May 9, 2013 15:44
-
-
Save kkurahar/5548290 to your computer and use it in GitHub Desktop.
td-agnet + fluent-plugin-filter
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> | |
## include | |
include conf.d/*.conf | |
<match td.nginx.access> | |
type copy | |
<store> | |
type filter | |
deny status: "400", uri: "/health_check.html" | |
</store> | |
</match> | |
<match filtered.td.nginx.access> | |
type mongo | |
database proxy | |
collection access | |
host 10.0.134.50 | |
port 27017 | |
flush_interval 10s | |
capped | |
capped_size 10240m | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment