Configuration generator for the load balancing method based on MSEC hashing

This section describes a configuration generator SCL for the load balancing method based on MSEC hashing to load balance your logs between multiple AxoSyslog destinations.

As an alternative to using the example configuration described in Load balancing with a round robin load balancing method based on the R_MSEC macro, a configuration generator script is also available in AxoSyslog:

destination d_lb {network-load-balancer(targets(myhost1 myhost2 myhost3))};

Where destinations share the same configuration except for the destination address, balancing is based on MSEC hashing.

Starting with version 4.24, network-load-balancer() supports the failover() option.

Last modified March 24, 2026: Mention failover support (3628d3d)