# Configuration generator for the load balancing method based on MSEC hashing

This section describes a [configuration generator SCL](<https://github.com/axoflow/axosyslog/tree/main/scl/loadbalancer>) for the load balancing method based on MSEC hashing to load balance your logs between multiple AxoSyslog destinations.

Warning

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](../../../docs/axosyslog-core/chapter-examples/load-bal-multi-dest/load-bal-multi-dest-macro/index.md).

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](../../../docs/axosyslog-core/chapter-examples/load-bal-multi-dest/load-bal-multi-dest-macro/index.md), 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](../../../docs/axosyslog-core/chapter-destinations/configuring-destinations-syslog/reference-destination-syslog-chapter/index.md#servers).

Last modified March 24, 2026: [Mention failover support (3628d3da)](<https://github.com/axoflow/axosyslog-core-docs/commit/3628d3da54d6703c740dc126550b11205e5887ae>)