From 815298597ef234657af03ce6b6c0d65f4c81116d Mon Sep 17 00:00:00 2001 From: Thiago Padilha Date: Mon, 30 May 2022 13:43:01 -0300 Subject: [PATCH] out_http: Document body_key/headers_key options Signed-off-by: Thiago Padilha --- pipeline/outputs/http.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/outputs/http.md b/pipeline/outputs/http.md index fc458e5b3..281cf0ef3 100644 --- a/pipeline/outputs/http.md +++ b/pipeline/outputs/http.md @@ -31,6 +31,8 @@ The **http** output plugin allows to flush your records into a HTTP endpoint. Fo | gelf\_short\_message\_key | Specify the key to use as the `short` message in _gelf_ format | | | gelf\_full\_message\_key | Specify the key to use for the `full` message in _gelf_ format | | | gelf\_level\_key | Specify the key to use for the `level` in _gelf_ format | | +| 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. | | +| 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. | | | Workers | Enables dedicated thread(s) for this output. Default value is set since version 1.8.13. For previous versions is 0. | 2 | ### TLS / SSL