diff options
Diffstat (limited to 'net/benthos/files/config.yaml')
-rw-r--r-- | net/benthos/files/config.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/benthos/files/config.yaml b/net/benthos/files/config.yaml new file mode 100644 index 000000000000..9cd7eb3128b1 --- /dev/null +++ b/net/benthos/files/config.yaml @@ -0,0 +1,27 @@ +# Sample configuration file for Benthos. It saves all messages to a file (/tmp/benthos.txt). +http: + enabled: true + address: 127.0.0.1:4195 + root_path: / + debug_endpoints: false +input: + http_server: + path: /post + ws_path: /post/ws + ws_welcome_message: "Welcome to the Benthos Websocket API." + allowed_verbs: + - POST + timeout: 5s + cors: + enabled: false + allowed_origins: [] + sync_response: + status: "200" + headers: + Content-Type: application/octet-stream +output: + file: + path: /tmp/benthos.txt + codec: lines +shutdown_delay: 0s +shutdown_timeout: 20s |