LogMan.io Collector

Outputs

Available outputs

output:UnixSocket:, output:WebSocket:, output:File:, output:Print:, output:Null:

In every output, meta information can be specified as dictionary in meta attribute. The tenant meta information can be specified in the output’s config directly.

output:UnixSocket

Outputs all incoming events into a UnixSocket specified by UNIX file path:

address:  # Name of the UNIX socket file (f. e. /data/myunixsocket)

Other configuration options include:

max_packet_size:  # (optional) Specify the maximum size of packets in bytes (default: 65536)
receiver_buffer_size:  # (optional) Limit the receiver size of the buffer in bytes (default: 0)
debug:  # (optional) Specify if to write output also to the log for debugging (default: false)

output:WebSocket

Outputs all incoming events over WebSocket protocol to a specified destination’s url:

url:  # Specify WebSocket destination URL (f. e. http://MyLogManMachine/syslog-ws)
tenant:  # Name of the customer/client the LogMan.io Collector is deployed to, tenant is then posted to LogMan.io parser and put to the event
meta:
	my_meta_tag: my_meta_tag_value  # (optional) Custom meta information, that will be later available in LogMan.io Parser in event's context
inactive_time:  # (optional) Specify inactive time in seconds, after which idle Web Sockets will be closed (default: 60)
output_queue_max_size:  # (optional) Specify in-memory outcoming queue size for every Web Socket
buffer:  # (optional) Path to store persistent files in, when the Web Socket connection is offline

The following configuration options specify the secure (HTTPS) connection:

cert:  # Specify path to the certificate
key:  # Specify path to the private key
cafile:  # Specify file to verify the peer (default: none)
password:  # (optional) Specify key file password (default: none)
capath:  # (optional) Specify path to verify the peer (default: none)
ciphers:  # (optional) Specify custom SSL ciphers (default: none)
dh_params:  # (optional) Diffie–Hellman (D-H) key exchange (TLS) parameters (default: none)
verify_mode:  # (optional) Empty or one of CERT_NONE, CERT_OPTIONAL or CERT_REQUIRED, for more information, see: https://github.com/TeskaLabs/asab/blob/master/asab/net/tls.py

output:File

Outputs all incoming events into a specified file. Make sure the file is accessible within the Docker container when using Docker.

The configuration options include:

path:  # Path to the output file
mode:  # (optional) The mode by which the file is going to be written to (default: 'ab' - append bytes)
flags: # (optional) One of O_CREAT and O_EXCL, where the first one tell the output to create the file if it does not exist (default: O_CREAT)
debug:  # (optional) Specify if to write output also to the log for debugging (default: false)

Other configuration options include:

output_queue_max_size:  # (optional) Maximum size of the output queue, i. e. in-memory storage (default: 100)
debug:  # (optional) Specify if to write output also to the log for debugging (default: false)

output:Print, output:Null

Helper outputs that print the incoming events either to the terminal (output:Print) or to /dev/null (output:Null).

Configuration options include:

debug:  # (optional) Specify if to write output also to the log for debugging (default: false)