Skip to content

Instantly share code, notes, and snippets.

@kkurahar
Created May 9, 2013 15:44
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 kkurahar/5548290 to your computer and use it in GitHub Desktop.
Save kkurahar/5548290 to your computer and use it in GitHub Desktop.
td-agnet + fluent-plugin-filter
<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