Skip to content

Instantly share code, notes, and snippets.

@kiyoto
Forked from agutow/Fluentd1.sh
Last active August 29, 2015 13:56
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 kiyoto/8924984 to your computer and use it in GitHub Desktop.
Save kiyoto/8924984 to your computer and use it in GitHub Desktop.
<source>
type tail
format apache2
path /var/log/apache2/access_log
pos_file /var/log/fluentd/apache2.access_log.pos
tag riak.apache
</source>
<match riak.**>
type riak
buffer_type memory
flush_interval 5s
retry_limit 5
retry_wait 1s
nodes localhost:8087 # Assumes Riak is running locally on port 8087
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment