fluent-plugin-out-https, a plugin for Fluentd
A generic fluentd output plugin for sending logs to an HTTP and HTTPS endpoint.
<match *>
type http
use_ssl true
include_tag true
include_timestamp true
endpoint_url https://localhost.local/api/
http_method form
serializer json
rate_limit_msec 100
authentication basic
username alice
password bobpop
</match>
- Set
use_ssl
to true to use https connection - Set
include_tag
to true to include fluentd tag in the event log as a property - Set
include_timestamp
to true to include timestamp (UNIX time) in the event log as a property - By default, it does not verify the https server. Use VERIFY_PEER and place the cert.pem to the location specified by OpenSSL::X509::DEFAULT_CERT_FILE.
- Majority of the code are cloned from fluent-plugin-out-http