39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
|
# Read metrics exposed by Logstash
|
||
|
[[inputs.logstash]]
|
||
|
## The URL of the exposed Logstash API endpoint.
|
||
|
url = "http://127.0.0.1:9600"
|
||
|
|
||
|
## Use Logstash 5 single pipeline API, set to true when monitoring
|
||
|
## Logstash 5.
|
||
|
# single_pipeline = false
|
||
|
|
||
|
## Enable optional collection components. Can contain
|
||
|
## "pipelines", "process", and "jvm".
|
||
|
# collect = ["pipelines", "process", "jvm"]
|
||
|
|
||
|
## Timeout for HTTP requests.
|
||
|
# timeout = "5s"
|
||
|
|
||
|
## Optional HTTP Basic Auth credentials.
|
||
|
# username = "username"
|
||
|
# password = "pa$$word"
|
||
|
|
||
|
## Optional TLS Config.
|
||
|
# tls_ca = "/etc/telegraf/ca.pem"
|
||
|
# tls_cert = "/etc/telegraf/cert.pem"
|
||
|
# tls_key = "/etc/telegraf/key.pem"
|
||
|
|
||
|
## Use TLS but skip chain & host verification.
|
||
|
# insecure_skip_verify = false
|
||
|
|
||
|
## If 'use_system_proxy' is set to true, Telegraf will check env vars such as
|
||
|
## HTTP_PROXY, HTTPS_PROXY, and NO_PROXY (or their lowercase counterparts).
|
||
|
## If 'use_system_proxy' is set to false (default) and 'http_proxy_url' is
|
||
|
## provided, Telegraf will use the specified URL as HTTP proxy.
|
||
|
# use_system_proxy = false
|
||
|
# http_proxy_url = "http://localhost:8888"
|
||
|
|
||
|
## Optional HTTP headers.
|
||
|
# [inputs.logstash.headers]
|
||
|
# "X-Special-Header" = "Special-Value"
|