Add HTTP basic auth support to the http_listener input (#3496)

This commit is contained in:
Evan Kinney
2018-03-23 14:56:49 -04:00
committed by Daniel Nelson
parent 05393da939
commit def76ace3b
4 changed files with 78 additions and 7 deletions

View File

@@ -2862,6 +2862,11 @@
# ## Add service certificate and key
# tls_cert = "/etc/telegraf/cert.pem"
# tls_key = "/etc/telegraf/key.pem"
#
# ## Optional username and password to accept for HTTP basic authentication.
# ## You probably want to make sure you have TLS configured above for this.
# basic_username = "foobar"
# basic_password = "barfoo"
# # Read metrics from Kafka topic(s)