Logger: TCP Client
Tcp/unix stream client logger.
- to remote tcp destination or unix socket
- supported format: text, json
- custom text format
- tls support
Options:
-
transport(string)Network transport to use:
unix|tcp|tcp+tls -
remote-address(string)Remote address
-
remote-port(integer)Remote TCP port
-
connect-timeout(integer)Connect timeout in second
-
retry-interval(integer)Interval in second between retry reconnect
-
flush-interval(integer)Interval in second before to flush the buffer
-
tls-insecure(boolean)If set to true, skip verification of server certificate.
-
tls-min-version(string)Specifies the minimum TLS version that the server will support.
-
ca-file(string)Specifies the path to the CA (Certificate Authority) file used to verify the server's certificate.
-
cert-file(string)Specifies the path to the certificate file to be used. This is a required parameter if TLS support is enabled.
-
key-file(string)Specifies the path to the key file corresponding to the certificate file. This is a required parameter if TLS support is enabled.
-
mode(string)Output format:
text,json, orflat-json -
text-format(string)output text format, please refer to the default text format to see all available text directives, use this parameter if you want a specific format
-
buffer-size(integer)how many DNS messages will be buffered before being sent
-
chan-buffer-size(integer)Specifies the maximum number of packets that can be buffered before discard additional packets. Set to zero to use the default global value.
Default values: