42 lines
1.7 KiB
Text
42 lines
1.7 KiB
Text
# AWS Data Firehose listener
|
|
[[inputs.firehose]]
|
|
## Address and port to host HTTP listener on
|
|
service_address = ":8080"
|
|
|
|
## Paths to listen to.
|
|
# paths = ["/telegraf"]
|
|
|
|
## maximum duration before timing out read of the request
|
|
# read_timeout = "5s"
|
|
## maximum duration before timing out write of the response
|
|
# write_timeout = "5s"
|
|
|
|
## Set one or more allowed client CA certificate file names to
|
|
## enable mutually authenticated TLS connections
|
|
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
|
|
|
## Add service certificate and key
|
|
# tls_cert = "/etc/telegraf/cert.pem"
|
|
# tls_key = "/etc/telegraf/key.pem"
|
|
|
|
## Minimal TLS version accepted by the server
|
|
# tls_min_version = "TLS12"
|
|
|
|
## Optional access key to accept for authentication.
|
|
## AWS Data Firehose uses "x-amz-firehose-access-key" header to set the access key.
|
|
## If no access_key is provided (default), authentication is completely disabled and
|
|
## this plugin will accept all request ignoring the provided access-key in the request!
|
|
# access_key = "foobar"
|
|
|
|
## Optional setting to add parameters as tags
|
|
## If the http header "x-amz-firehose-common-attributes" is not present on the
|
|
## request, no corresponding tag will be added. The header value should be a
|
|
## json and should follow the schema as describe in the official documentation:
|
|
## https://docs.aws.amazon.com/firehose/latest/dev/httpdeliveryrequestresponse.html#requestformat
|
|
# parameter_tags = ["env"]
|
|
|
|
## Data format to consume.
|
|
## Each data format has its own unique set of configuration options, read
|
|
## more about them here:
|
|
## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
|
|
# data_format = "influx"
|