Skip to content

Instantly share code, notes, and snippets.

@takus
Created January 7, 2016 06:04
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 takus/03b39fdbeb2150335f02 to your computer and use it in GitHub Desktop.
Save takus/03b39fdbeb2150335f02 to your computer and use it in GitHub Desktop.
<source>
type forward
port 24224
</source>
<source>
type monitor_agent
port 24220
</source>
<match foo>
type copy
<store>
type flowcounter
count_keys *
unit second
aggregate all
tag fluentd.flowcounter.foo
@label @dogstatsd
</store>
<store>
@id forward1
type forward
<server>
host xx.xx.xx.01
port 24224
</server>
</store>
<store>
@id forward2
type forward
<server>
host xx.xx.xx.02
port 24224
</server>
</store>
<store>
@id forward3
type forward
<server>
host xx.xx.xx.03
port 24224
</server>
</store>
<store>
@id forward4
type forward
<server>
host xx.xx.xx.04
port 24224
</server>
</store>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment