Add reading bearer token from a file to http input (#7304)

This commit is contained in:
M0rdecay
2020-04-14 22:31:26 +03:00
committed by GitHub
parent 0fa92a686e
commit 27f09758ba
2 changed files with 20 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ The HTTP input plugin collects metrics from one or more HTTP(S) endpoints. The
## compress body or "identity" to apply no encoding.
# content_encoding = "identity"
## Optional file with Bearer token
## file content is added as an Authorization header
# bearer_token = "/path/to/file"
## Optional HTTP Basic Auth Credentials
# username = "username"
# password = "pa$$word"