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: tcp|unixremote-ip
: (string) remote addressremote-port
: (integer) remote tcp portsock-path
: (string) unix socket pathconnect-timeout
: (integer) connect timeout in secondretry-interval
: (integer) interval in second between retry reconnectflush-interval
: (integer) interval in second before to flush the buffertls-support
: (boolean) enable tlstls-insecure
: (boolean) insecure skip verifytls-min-version
: (string) min tls version, default to 1.2mode
: (string) output format: text, json, or flat-jsontext-format
: (string) output text format, please refer to the default text format to see all available directives, use this parameter if you want a specific formatbuffer-size
: (integer) number of dns messages in buffer
Default values:
tcpclient:
transport: tcp
remote-address: 127.0.0.1
remote-port: 9999
sock-path: null
connect-timeout: 5
retry-interval: 10
flush-interval: 30
tls-support: false
tls-insecure: false
tls-min-version: 1.2
mode: json
text-format: ""
buffer-size: 100