fluent-out-http-buffered <img src=“https://travis-ci.org/ablagoev/fluent-plugin-out-http-buffered.png?branch=master” />

This is an output plugin for (Fluentd) which deliveres buffered log messages to an http endpoint.

It has configurable (read) and (open) timeouts.

Clients can also configure which http response statuses should be retried (in most cases clients would want to retry on status 500).

All messages are sent through POST in json format.

The plugin was influenced by the standard (http output plugin).

Installation:

‘gem install fluent-out-http-buffered`

Usage:

# Configuration file fluent.conf
<match fluentd.test.*>
  type http_buffered
  flush_interval 2s
  #Endpoint for messages
  endpoint_url    http://localhost/fluent.php
  #Comma separated list of http statuses which need to be retried
  http_retry_statuses 500, 403
  #Read timeout in seconds, supports floats
  http_read_timeout 2.2
  #Open timeout in seconds, supports floats
  http_open_timeout 2.34
</match>

Copyright © 2013 ablagoev. See LICENSE.txt for further details.