diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 0f0938005..481db0e43 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -4557,7 +4557,7 @@ # # cookie_auth_method = "POST" # # cookie_auth_username = "username" # # cookie_auth_password = "pa$$word" -# # cookie_auth_headers = '{"Content-Type": "application/json", "X-MY-HEADER":"hello"}' +# # cookie_auth_headers = { Content-Type = "application/json", X-MY-HEADER = "hello" } # # cookie_auth_body = '{"username": "user", "password": "pa$$word", "authenticate": "me"}' # ## cookie_auth_renewal not set or set to "0" will auth once and never renew the cookie # # cookie_auth_renewal = "5m" diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index 065e05951..ceaf472b5 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -4494,7 +4494,7 @@ # # cookie_auth_method = "POST" # # cookie_auth_username = "username" # # cookie_auth_password = "pa$$word" -# # cookie_auth_headers = '{"Content-Type": "application/json", "X-MY-HEADER":"hello"}' +# # cookie_auth_headers = { Content-Type = "application/json", X-MY-HEADER = "hello" } # # cookie_auth_body = '{"username": "user", "password": "pa$$word", "authenticate": "me"}' # ## cookie_auth_renewal not set or set to "0" will auth once and never renew the cookie # # cookie_auth_renewal = "5m"