<img src=“https://badge.fury.io/rb/fluent-plugin-out-http-buffered.png” alt=“Gem Version” /> <img src=“https://travis-ci.org/ablagoev/fluent-plugin-out-http-buffered.png?branch=master” /> <img src=“https://coveralls.io/repos/ablagoev/fluent-plugin-out-http-buffered/badge.png” alt=“Coverage Status” /> <img src=“https://codeclimate.com/github/ablagoev/fluent-plugin-out-http-buffered.png” />
fluent-out-http-buffered¶ ↑
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¶ ↑
Copyright © 2013 ablagoev. See LICENSE.txt for further details.