Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
## built-in TCP input
## $ echo <json> | fluent-cat <tag>
type tcp
## match tag=debug.** and dump to console
<match debug.**>
type stdout
## match tag=myapp.** and mongo and write to file
<match myapp.**>
type copy
type mongo
database fluent
collection myapp
type file
path /var/log/fluent/myapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment