Skip to content

Instantly share code, notes, and snippets.

@agutow
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save agutow/8815006 to your computer and use it in GitHub Desktop.
Save agutow/8815006 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