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
  raise_on_error  false  # default: true
  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