Skip to content

Commit ad951fa

Browse files
committed
output: http: document 'allow_duplicated_headers' option
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 5d13ad7 commit ad951fa

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pipeline/outputs/http.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ The **http** output plugin allows to flush your records into a HTTP endpoint. Fo
66

77
| Key | Description | default |
88
| :--- | :--- | :--- |
9-
| Host | IP address or hostname of the target HTTP Server | 127.0.0.1 |
10-
| HTTP\_User | Basic Auth Username | |
11-
| HTTP\_Passwd | Basic Auth Password. Requires HTTP\_User to be set | |
12-
| Port | TCP port of the target HTTP Server | 80 |
9+
| host | IP address or hostname of the target HTTP Server | 127.0.0.1 |
10+
| http\_User | Basic Auth Username | |
11+
| http\_Passwd | Basic Auth Password. Requires HTTP\_User to be set | |
12+
| port | TCP port of the target HTTP Server | 80 |
1313
| Proxy | Specify an HTTP Proxy. The expected format of this value is [http://host:port](http://host:port). Note that _https_ is **not** supported yet. | |
14-
| URI | Specify an optional HTTP URI for the target web server, e.g: /something | / |
15-
| Compress | Set payload compression mechanism. Option available is 'gzip' | |
16-
| Format | Specify the data format to be used in the HTTP request body, by default it uses _msgpack_. Other supported formats are _json_, _json\_stream_ and _json\_lines_ and _gelf_. | msgpack |
14+
| uri | Specify an optional HTTP URI for the target web server, e.g: /something | / |
15+
| compress | Set payload compression mechanism. Option available is 'gzip' | |
16+
| format | Specify the data format to be used in the HTTP request body, by default it uses _msgpack_. Other supported formats are _json_, _json\_stream_ and _json\_lines_ and _gelf_. | msgpack |
17+
| allow\_duplicated\_headers | Specify if duplicated headers are allowed. If a duplicated header is found, the latest key/value set is preserved. | true |
1718
| header\_tag | Specify an optional HTTP header field for the original message tag. | |
18-
| Header | Add a HTTP header key/value pair. Multiple headers can be set. | |
19+
| header | Add a HTTP header key/value pair. Multiple headers can be set. | |
1920
| json\_date\_key | Specify the name of the date field in output | date |
2021
| json\_date\_format | Specify the format of the date. Supported formats are _double_ and _iso8601_ \(eg: _2018-05-30T09:39:52.000681Z_\) | double |
2122
| gelf\_timestamp\_key | Specify the key to use for `timestamp` in _gelf_ format | |

0 commit comments

Comments
 (0)