From 5e5120c0e6cdb0e572ae8b840296443871750ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Wed, 17 Apr 2024 16:23:23 +0200 Subject: [PATCH] out_websocket: Document ability to provide additional headers (#1351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/fluent/fluent-bit/pull/8536. Signed-off-by: Markus Thömmes --- pipeline/outputs/websocket.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/outputs/websocket.md b/pipeline/outputs/websocket.md index 8aa28916c..c956e764d 100644 --- a/pipeline/outputs/websocket.md +++ b/pipeline/outputs/websocket.md @@ -9,6 +9,7 @@ The **websocket** output plugin allows to flush your records into a WebSocket en | Host | IP address or hostname of the target WebScoket Server | 127.0.0.1 | | Port | TCP port of the target WebScoket Server | 80 | | URI | Specify an optional HTTP URI for the target websocket server, e.g: /something | / | +| Header | Add a HTTP header key/value pair. Multiple headers can be set. | | | 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 | | json\_date\_key | Specify the name of the date field in output | date | | json\_date\_format | Specify the format of the date. Supported formats are _double_, _epoch_, _iso8601_ (eg: _2018-05-30T09:39:52.000681Z_) and _java_sql_timestamp_ (eg: _2018-05-30 09:39:52.000681_) | double |