Configuration generator for the load balancing method based on MSEC hashing
This section describes a configuration generator for the load balancing method based on MSEC hashing to load balance your logs between multiple AxoSyslog destinations.
Consider that network-load-balancer()
is not a destination, only a script that generates the example configuration described in Load balancing with a round robin load balancing method based on the R_MSEC macro of syslog-ng OSE.
Also consider that the configuration generator script may change incompatibly in the future. As a result, Axoflow does not officially support using this script, and recommends that you only use this script at your own risk.
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 of syslog-ng OSE, 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.