Skip to content

Commit 893b13d

Browse files
authored
out_http: Document body_key/headers_key options (#816)
Signed-off-by: Thiago Padilha <[email protected]>
1 parent 805fd9c commit 893b13d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipeline/outputs/http.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The **http** output plugin allows to flush your records into a HTTP endpoint. Fo
3131
| gelf\_short\_message\_key | Specify the key to use as the `short` message in _gelf_ format | |
3232
| gelf\_full\_message\_key | Specify the key to use for the `full` message in _gelf_ format | |
3333
| gelf\_level\_key | Specify the key to use for the `level` in _gelf_ format | |
34+
| body\_key | Specify the key to use as the body of the request (must prefix with "$"). The key must contain either a binary or raw string, and the content type can be specified using headers\_key (which must be passed whenever body\_key is present). When this option is present, each msgpack record will create a separate request. | |
35+
| headers\_key | Specify the key to use as the headers of the request (must prefix with "$"). The key must contain a map, which will have the contents merged on the request headers. This can be used for many purposes, such as specifying the content-type of the data contained in body\_key. | |
3436
| Workers | Enables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0. | 2 |
3537

3638
### TLS / SSL

0 commit comments

Comments
 (0)