New in version 0.6.
Plugin Name: HttpOutput
A very simple output plugin that uses HTTP GET, POST, or PUT requests to deliver data to an HTTP endpoint. When using POST or PUT request methods the encoded output will be uploaded as the request body. When using GET the encoded output will be ignored.
This output doesn’t support any request batching; each received message will generate an HTTP request. Batching can be achieved by use of a filter plugin that accumulates message data, periodically emitting a single message containing the batched, encoded HTTP request data in the payload. An HttpOutput can then be configured to capture these batch messages, using a Payload Encoder to extract the message payload.
For now the HttpOutput only supports statically defined request parameters (URL, headers, auth, etc.). Future iterations will provide a mechanism for dynamically specifying these values on a per-message basis.
HTTP request method to use, must be one of GET, POST, or PUT. Defaults to POST.
If specified, HTTP Basic Auth will be used with the provided user name.
If specified, HTTP Basic Auth will be used with the provided password.
It is possible to inject arbitrary HTTP headers into each outgoing request by adding a TOML subsection entitled “headers” to you HttpOutput config section. All entries in the subsection must be a list of string values.
Time in milliseconds to wait for a response for each http request. This may drop data as there is currently no retry. Default is 0 (no timeout)
[PayloadEncoder] [influxdb] type = "HttpOutput" message_matcher = "Type == 'influx.formatted'" address = "http://influxdb.example.com:8086/db/stats/series" encoder = "PayloadEncoder" username = "MyUserName" password = "MyPassword"