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

A generic fluentd output plugin for sending logs to an HTTP endpoint.

Build Status

Configuration options

<match *>
  @type http
  endpoint_url    http://localhost.local/api/
  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
  buffered        true   # default: false. Switch non-buffered/buffered mode
  cacert_file     /etc/ssl/endpoint1.cert # default: ''
  client_cert_path /path/to/client_cert.crt # default: ''
  private_key_path /path/to/private_key.key # default: ''
  private_key_passphrase yourpassphrase # default: ''
  token           tokent # default: ''
  custom_headers  {"token":"arbitrary"} # default: nil
</match>

Usage notes

If you'd like to retry failed requests, consider using fluent-plugin-bufferize.


Heavily based on fluent-plugin-growthforecast