Skip to content

Instantly share code, notes, and snippets.

@metalelf0
Created August 9, 2013 13:44
Show Gist options
  • Save metalelf0/6193677 to your computer and use it in GitHub Desktop.
Save metalelf0/6193677 to your computer and use it in GitHub Desktop.
## built-in TCP input
## $ echo <json> | fluent-cat <tag>
<source>
type forward
port 24224
</source>
## match tag=fluentd.test.** and dump to console
<match fluentd.test.**>
type stdout
</match>
<match mongo.**>
type mongo
host 127.0.0.1
port 27017
database fluentd
collection test
# for capped collection
capped
capped_size 1024m
# flush
flush_interval 1s
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment