fluent-plugin-out-http-ext, a plugin for Fluentd

This is a fork of ento / fluent-plugin-out-http
A generic fluentd output plugin for sending logs to an HTTP endpoint
Configuration options
<match *>
type http_ext
endpoint_url http://localhost.local/api/<data.id> # <data.id> refres to data.id in the record like {"data"=> {"id"=> 1, "name"=> "foo"}}
http_method put # default: post
serializer json # default: form
rate_limit_msec 100 # default: 0 = no rate limiting
open_timeout 5 # default: nil = no timeout
read_timeout 10 # default: 60
raise_on_error false # default: true
raise_on_http_failure true # default: false
ignore_http_status_code 300,400..499 # default: nil # do not raise on these http_hstatus codes
authentication basic # default: none
username alice # default: ''
password bobpop # default: '', secret: true
use_ssl true # default: false
<headers>
HeaderExample1 header1
HeaderExample2 header2
</headers>
</match>
Usage notes
If you'd like to retry failed requests, consider using fluent-plugin-bufferize.
Heavily based on fluent-plugin-growthforecast