Created
August 9, 2013 13:44
-
-
Save metalelf0/6193677 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## 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