---
title: "Configuration generator for the load balancing method based on MSEC hashing"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-examples/load-bal-multi-dest/load-bal-multi-dest-msec-h/"
last_modified: "2026-03-24T13:15:13+01:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# 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](https://axoflow.com/docs/axosyslog-core/4.28/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](https://axoflow.com/docs/axosyslog-core/4.28/chapter-examples/load-bal-multi-dest/load-bal-multi-dest-macro/index.md), a configuration generator script is also available in AxoSyslog:

```shell
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](https://axoflow.com/docs/axosyslog-core/4.28/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)
