The listener subsystem is a pluggable interface for inbound unstructured syslog messages. The messages can be received directly from the network devices, via UDP or TCP, or from other third parties, such as brokers, e.g. ZeroMQ, Kafka, etc., depending on the architecture of the network. The default listener is UDP.

From the command line, the listener can be selected using the --listener option, e.g.:

$ napalm-logs --listener tcp

From the configuration file, the listener can be specified using the listener option, eventually with several options. The options depend on the nature of the listener.

Example: listener configuration using the default configuration

listener: tcp

Example: listener configuration using custom options

    buffer_size: 2048
    max_clients: 100


The IP Address / port for the listener be specified using the address and port configuration options.

Available listeners and their options