Created
April 16, 2018 08:27
-
-
Save neoshadybeat/7ec70fa0e8143ece88b463ed49e8781e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[inputs.http]] | |
name_suffix = "_ble" | |
## One or more URLs from which to read formatted metrics | |
urls = [ | |
"http://localhost/metrics" | |
] | |
## HTTP method | |
method = "POST" | |
## Optional HTTP headers | |
# headers = {"X-Special-Header" = "Special-Value"} | |
## Optional HTTP Basic Auth Credentials | |
# username = "username" | |
# password = "pa$$word" | |
## Optional SSL Config | |
# ssl_ca = "/etc/telegraf/ca.pem" | |
# ssl_cert = "/etc/telegraf/cert.pem" | |
# ssl_key = "/etc/telegraf/key.pem" | |
## Use SSL but skip chain & host verification | |
# insecure_skip_verify = false | |
## Amount of time allowed to complete the HTTP request | |
# timeout = "5s" | |
## 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 = "json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment