Skip to content

Commit

Permalink
Documenting HTTP headers setting (#7752) (#7772)
Browse files Browse the repository at this point in the history
* Documenting HTTP `headers` setting

* Moving headers section below username and password sections

(cherry picked from commit 6071772)
  • Loading branch information
ycombinator authored and ruflin committed Jul 27, 2018
1 parent 165db48 commit f3e6553
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions metricbeat/docs/metricbeat-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,18 @@ The username to use for basic authentication.

The password to use for basic authentication.

[float]
==== `headers`

A list of headers to use with the HTTP request. For example:

[source,yaml]
----
headers:
Cookie: abcdef=123456
My-Custom-Header: my-custom-value
----

[float]
==== `bearer_token_file`

Expand Down

0 comments on commit f3e6553

Please sign in to comment.