Advanced installation options
When installing AxoRouter, you can set a number of advanced options if needed for your environment. Setting the advanced options in the AxoConsole automatically updates the one-liner command that you can copy and run.

Alternatively, before running the one-liner you can use one of the following methods:
-
Set the related environment variable for the option. For example:
Terminal window export AXO_USER=syslogng export AXO_GROUP=syslogng -
Set the related URL parameter for the option. For example:
Terminal window curl -fLsH 'X-AXO-TOKEN:random-generated' 'https://<your-tenant-id>.cloud.axoflow.io/setup.sh?type=AXOROUTER&platform=LINUX&user=syslogng&group=syslogng' | sh
The AxoConsole doesn’t show every option on the form. You can still set the hidden options using their environment variable or URL parameter:
- Some options are never shown on the form, for example, Docker arguments and Systemd override directory .
- The image override options are shown only if your tenant has a default value for them.
- The Logstore parameters are shown only if Logstore is enabled for your tenant.
- The RSigma parameters are shown only if detection is enabled for your tenant.
Proxy settings
Use the HTTP proxy , HTTPS proxy , and No-proxy hosts parameters to configure HTTP proxy settings. The installer, the Axolet service, and the AxoRouter services use these settings. To avoid using the proxy for the AxoRouter services, enable the Skip proxy for the AxoRouter services parameter as well. Lowercase variable names are preferred because they work universally.
Installation options
You can pass the following parameters to the installation script as environment variables, or as URL parameters.
sudo would mask environment variables of the calling shell. Either start the whole procedure from a root shell, or let the install script call sudo when it needs to. In other words: don’t add the sudo command to the provisioning command.
External image pull
| Default value: | true |
| Environment variable | AXO_EXTERNAL_IMAGE_PULL |
| URL parameter | external_image_pull |
Description: If true, the installation script downloads the images from the central Axoflow repository. If false, the script downloads the images from the AxoConsole host. This is useful when deploying AxoRouters in airgapped environments
.
AxoRouter capabilities
| Default value: | CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYSLOG CAP_BPF |
| Environment variable | AXO_AXOROUTER_CAPS |
| URL parameter | axorouter_caps |
Description: Capabilities added to the AxoRouter container.
AxoRouter config mount path
| Default value: | /etc/axorouter/user-config |
| Environment variable | AXO_CONFIG_MOUNT_INSIDE |
| URL parameter | config_mount_inside |
Description: Mount path for custom user configuration inside the AxoRouter container. The AxoRouter user config directory of the host is mounted to this path. This option isn’t shown in the AxoConsole.
AxoRouter image override
| Default value: | empty string |
| Environment variable | AXO_IMAGE |
| URL parameter | image |
Description: Deploy the specified AxoRouter image.
AxoRouter user config directory
| Default value: | /etc/axorouter/user-config |
| Environment variable | AXO_CONFIG_MOUNT |
| URL parameter | config_mount |
Description: Directory on the host that stores the custom user configuration of AxoRouter. The directory is mounted to the AxoRouter config mount path inside the container.
Docker arguments for AxoRouter
| Default value: | empty string |
| Environment variable | AXO_DOCKER_ARGS |
| URL parameter | docker_args |
Description: Custom docker arguments for the AxoRouter container. Used only by the legacy (Docker-based) package
. This option isn’t shown in the AxoConsole. For the Podman-based package, use Podman arguments
.
Image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axorouter |
| Environment variable | AXO_IMAGE_REPO |
| URL parameter | image_repo |
Description: Deploy AxoRouter from a custom image repository.
Image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_IMAGE_VERSION |
| URL parameter | image_version |
Description: Deploy the specified AxoRouter version.
Legacy (Docker-based) package
| Default value: | auto |
| Available values: | auto, true, false |
| Environment variable | AXO_LEGACY_PACKAGE |
| URL parameter | legacy_package |
Description: If true, install the Docker-based axorouter-legacy package instead of the Podman-based package. If auto, the installer selects the legacy package on Ubuntu 22.04, and the Podman-based package on other platforms.
Non-interactive installation
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_NON_INTERACTIVE |
| URL parameter | non_interactive |
Description: If true, the installation doesn’t ask for confirmation. Use it for unattended installations.
Package format
| Default value: | auto |
| Available values: | auto, deb, rpm, tar, none |
| Environment variable | AXO_INSTALL_PACKAGE |
| URL parameter | install_package |
Description: File format of the installer package.
Persist directory
| Default value: | /var/lib/syslog-ng |
| Environment variable | AXO_PERSIST_MOUNT |
| URL parameter | persist_mount |
Description: Directory on the host that stores the persist file and the disk buffers of AxoRouter. The data directories of the WEC and the axorouter-resolver services are created under this directory. Make sure that there’s sufficient disk space for the disk buffers.
The data directory of the WEC service is <persist-directory>/wec by default. To use a different directory, set the AXOROUTER_WEC_MOUNT environment variable when you run the installer.
If you store the AxoRouter data on a separate disk, set the AxoStore data directory and the Logstore directories as well, because they’re independent of this directory.
Podman arguments for AxoRouter services
| Default value: | empty string |
| Environment variable | AXO_PODMAN_ARGS |
| URL parameter | podman_args |
Description: Custom podman arguments for the containers of the AxoRouter services: AxoRouter, AxoRouter WEC, AxoStore, axorouter-resolver, Logstore, RSigma, and Axoflow Cloud Connector. The Logstore container also gets the --read-only argument. You can specify only a single argument. If you leave this option empty, the installer uses --log-level=warn.
Raise socket receive buffer limit
| Default value: | auto |
| Available values: | auto, true, false |
| Environment variable | AXO_SET_RMEM_MAX |
| URL parameter | set_rmem_max |
Description: If true, the installer permanently raises the net.core.rmem_max sysctl value of the host if it’s too low. If auto, the installer asks for confirmation when running in an interactive terminal, and raises the value without asking in a non-interactive installation. If false, the installer doesn’t change the value.
Skip prerequisites check
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_SKIP_PREFLIGHT_CHECK |
| URL parameter | skip_preflight_check |
Description: If true, the installer skips checking that the API server and the telemetry proxy are reachable, and that their certificates are valid.
Start router
| Default value: | true |
| Available values: | true, false |
| Environment variable | AXO_START_ROUTER |
| URL parameter | start_router |
Description: Start AxoRouter after installation.
Systemd override directory
| Default value: | /etc/systemd/system/axolet.service.d |
| Environment variable | AXO_SYSTEMD_OVERRIDE_DIR |
| URL parameter | systemd_override_dir |
Description: Directory for the systemd unit overrides of the Axolet service. This option isn’t shown in the AxoConsole.
Axolet parameters
API server host
| Default value: | |
| Environment variable | Not available (URL parameter only) |
| URL parameter | api_server_host |
Description: Override the host part of the API endpoint for the host. Axolet connects to this host, but still uses the original hostname of the endpoint to verify the TLS certificate.
Skip proxy for the AxoRouter services
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_AVOID_PROXY |
| URL parameter | avoid_proxy |
Description: If set to true, the AxoRouter services don’t use the proxy
. This option makes a difference only if you set a proxy. The installer and the Axolet service always use the proxy, because they reach the AxoConsole the same way as the installation command. (The legacy y value is the same as true.)
The option is disabled by default, because a destination can be outside your network (for example, Splunk Cloud), and the AxoRouter services need the proxy to reach it. Enable it if every destination is in your internal network. To use the proxy only for some destinations, leave this option disabled, and list your internal hosts in No-proxy hosts instead.
Axolet capabilities
| Default value: | CAP_SYS_PTRACE CAP_SYS_CHROOT |
| Available values: | Whitespace-separated list of capability names with CAP_ prefix. |
| Environment variable | AXO_CAPS |
| URL parameter | caps |
Description: Ambient Linux capabilities the axolet service will use.
Configuration directory
| Default value: | /etc/axolet |
| Environment variable | AXO_CONFIG_DIR |
| URL parameter | config_dir |
Description: The directory where the configuration files are stored.
HTTP proxy
| Default value: | empty string |
| Environment variable | AXO_HTTP_PROXY |
| URL parameter | http_proxy |
Description: The HTTP proxy that the installer, the Axolet service, and the AxoRouter services use, unless you skip the proxy for the AxoRouter services .
HTTPS proxy
| Default value: | empty string |
| Environment variable | AXO_HTTPS_PROXY |
| URL parameter | https_proxy |
Description: The HTTPS proxy that the installer, the Axolet service, and the AxoRouter services use, unless you skip the proxy for the AxoRouter services .
Initial labels
| Default value: | platform=linux,product=axorouter,vendor=axoflow |
| Environment variable | Not available (URL parameter only) |
| URL parameter | initial_labels |
Description: Comma-separated list of key=value labels. These labels are set on the host registration request, and are suggested for the host when you add the source to AxoConsole. For example, product=windows,team=windows,vendor=microsoft
No-proxy hosts
| Default value: | empty string |
| Environment variable | AXO_NO_PROXY |
| URL parameter | no_proxy |
Description: Comma-separated list of hosts to reach directly instead of through the proxy. It applies to every component that uses the proxy. Loopback addresses are always excluded, regardless of this setting.
Overwrite config
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_CONFIG_OVERWRITE |
| URL parameter | config_overwrite |
Description: If set to true, the configuration process will overwrite existing configuration (/etc/axolet/config.json). This means that the agent will get a new GUID and it will require approval on the AxoConsole.
Service group
| Default value: | root |
| Environment variable | AXO_GROUP |
| URL parameter | group |
Description: Name of the group and Axolet will be running as. It should be either root or the group syslog-ng is running as.
Service user
| Default value: | root |
| Environment variable | AXO_USER |
| URL parameter | user |
Description: Name of the user Axolet will be running as. It should be either root or the user syslog-ng is running as. See also Run axolet as non-root.
Start service
| Default value: | true |
| Available values: | true, false |
| Environment variable | AXO_START |
| URL parameter | start |
Description: Start axolet agent at the end of installation. Use false for preparing golden images. In this case axolet will generate a new GUID on the first boot after cloning the image.
WEC parameters
These parameters are related to the Windows Event Collector server that can be run on AxoRouter. For details, see Windows Event Collector (WEC).
WEC image override
| Default value: | `` |
| Environment variable | AXO_WEC_IMAGE |
| URL parameter | wec_image |
Description: Deploy the specified WEC image.
WEC image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axorouter-wec |
| Environment variable | AXO_WEC_IMAGE_REPO |
| URL parameter | wec_image_repo |
Description: Deploy the Windows Event Collector server from a custom image repository.
WEC image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_WEC_IMAGE_VERSION |
| URL parameter | wec_image_version |
Description: Deploy the specified Windows Event Collector server version.
axorouter-resolver parameters
These parameters are related to the resolver service that can be run on AxoRouter.
The AXORESOLVER_* environment variables (without the AXO_ prefix) are read by the setup script of the AxoRouter package, not by the installer one-liner, so they don’t have URL parameters and aren’t available in the AxoConsole.
Enable axorouter-resolver
| Default value: | true |
| Available values: | true, false |
| Environment variable | AXO_AXORESOLVER_ENABLED |
| URL parameter | axoresolver_enabled |
Description: Install axorouter-resolver for this AxoRouter deployment.
axorouter-resolver image override
| Default value: | |
| Environment variable | AXO_AXORESOLVER_IMAGE |
| URL parameter | axoresolver_image |
Description: Deploy the specified axorouter-resolver image.
axorouter-resolver image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axoresolver |
| Environment variable | AXO_AXORESOLVER_IMAGE_REPO |
| URL parameter | axoresolver_image_repo |
Description: Deploy the axorouter-resolver from a custom image repository.
axorouter-resolver image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_AXORESOLVER_IMAGE_VERSION |
| URL parameter | axoresolver_image_version |
Description: Deploy the specified axorouter-resolver version.
axorouter-resolver persistence directory
| Default value: | ${AXOROUTER_PERSIST_MOUNT}/axoresolver |
| Environment variable | AXORESOLVER_PERSIST_DIR |
| URL parameter |
Description: Directory where axorouter-resolver stores persistent data.
axorouter-resolver configuration directory
| Default value: | /etc/axorouter/axoresolver |
| Environment variable | AXORESOLVER_CONFIG_DIR |
| URL parameter |
Description: Directory where axorouter-resolver configuration files are stored.
axorouter-resolver environment file
| Default value: | /etc/axorouter/axoresolver.env |
| Environment variable | AXORESOLVER_ENV_FILE |
| URL parameter |
Description: Path to the axorouter-resolver environment file.
axorouter-resolver configuration file
| Default value: | ${AXORESOLVER_CONFIG_DIR}/resolvers.json |
| Environment variable | AXORESOLVER_CONFIG_FILE |
| URL parameter |
Description: Path to the axorouter-resolver configuration file.
axorouter-resolver listening socket
| Default value: | ${AXORESOLVER_PERSIST_DIR}/axoresolver.sock |
| Environment variable | AXORESOLVER_LISTENING_SOCKET |
| URL parameter |
Description: Path to the socket file that axorouter-resolver listens on.
axorouter-resolver control socket
| Default value: | ${AXORESOLVER_PERSIST_DIR}/axoresolver-ctl.sock |
| Environment variable | AXORESOLVER_CONTROL_SOCKET_PATH |
| URL parameter |
Description: Path to the socket file used to control axorouter-resolver.
axorouter-resolver cache file
| Default value: | ${AXORESOLVER_PERSIST_DIR}/axoresolver-cache.json |
| Environment variable | AXORESOLVER_CACHE_FILE |
| URL parameter |
Description: Path to the axorouter-resolver cache file.
axorouter-resolver cache write interval
| Default value: | 10 |
| Environment variable | AXORESOLVER_CACHE_WRITE_INTERVAL |
| URL parameter |
Description: Interval for writing the cache to disk. If you don’t specify the unit, it’s treated as seconds: 10 is the same as 10s. You can use other units as well, for example, m for minutes.
axorouter-resolver log level
| Default value: | INFO |
| Environment variable | AXORESOLVER_LOG_LEVEL |
| URL parameter |
Description: Log level for axorouter-resolver.
AxoStore parameters
These parameters are related to the AxoStore that can be run on AxoRouter. For details, see Storage.
Enable AxoStore
| Default value: | true |
| Available values: | true, false |
| Environment variable | AXO_AXOSTORE_ENABLED |
| URL parameter | axostore_enabled |
Description: Install AxoStore for this AxoRouter deployment.
AxoStore image override
| Default value: | empty string |
| Environment variable | AXO_AXOSTORE_IMAGE |
| URL parameter | axostore_image |
Description: Deploy the specified AxoStore image instead of the default.
AxoStore image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axostore |
| Environment variable | AXO_AXOSTORE_IMAGE_REPO |
| URL parameter | axostore_image_repo |
Description: Deploy the AxoStore from a custom image repository.
AxoStore image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_AXOSTORE_IMAGE_VERSION |
| URL parameter | axostore_image_version |
Description: Deploy the specified AxoStore version.
AxoStore data directory
| Default value: | /var/lib/clickhouse |
| Environment variable | AXO_AXOSTORE_DATA_DIR |
| URL parameter | axostore_data_dir |
Description: The directory on the host where the AxoStores are stored. Make sure that there’s sufficient disk space, especially for long-time retention and/or high data volume. This directory is independent of the Persist directory .
If you don’t set this option, the installer uses the value of the AXOSTORE_MOUNT environment variable if it’s set, otherwise the default value.
Axoflow Cloud Connector parameters
These parameters are related to the Axoflow Cloud Connector services that can be run on AxoRouter.
Enable Cloudconnectors
| Default value: | true |
| Available values: | true, false |
| Environment variable | AXO_CLOUDCONNECTORS_ENABLED |
| URL parameter | cloudconnectors_enabled |
Description: Install Axoflow Cloud Connector for this AxoRouter deployment. Enabling this option is a prerequisite for sources that use Axoflow Cloud Connector, for example, Azure Event Hubs.
Cloudconnectors image override
| Default value: | `` |
| Environment variable | AXO_CLOUDCONNECTORS_IMAGE |
| URL parameter | cloudconnectors_image |
Description: Deploy the specified Axoflow Cloud Connector image instead of the default.
Cloudconnectors image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axorouter-cloudconnectors |
| Environment variable | AXO_CLOUDCONNECTORS_IMAGE_REPO |
| URL parameter | cloudconnectors_image_repo |
Description: Deploy the Axoflow Cloud Connector from a custom image repository.
Cloudconnectors image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_CLOUDCONNECTORS_IMAGE_VERSION |
| URL parameter | cloudconnectors_image_version |
Description: Deploy the specified Axoflow Cloud Connector version.
Logstore parameters
These parameters are related to the Logstore service that can be run on AxoRouter. Logstore is disabled by default. For details, see Create Logstore.
Logstore is an early-access feature. The AxoConsole shows these parameters only if Logstore is enabled for your tenant.
Enable Logstore
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_LOGSTORE_ENABLED |
| URL parameter | logstore_enabled |
Description: Install Logstore for this AxoRouter deployment.
Logstore image override
| Default value: | `` |
| Environment variable | AXO_LOGSTORE_IMAGE |
| URL parameter | logstore_image |
Description: Deploy the specified Logstore image instead of the default.
Logstore image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axorouter-logstore |
| Environment variable | AXO_LOGSTORE_IMAGE_REPO |
| URL parameter | logstore_image_repo |
Description: Deploy Logstore from a custom image repository.
Logstore image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_LOGSTORE_IMAGE_VERSION |
| URL parameter | logstore_image_version |
Description: Deploy the specified Logstore version.
Logstore configuration directory
| Default value: | /etc/axorouter/logstore |
| Environment variable | AXO_LOGSTORE_CONFIG_HOST_DIR |
| URL parameter | logstore_config_host_dir |
Description: Directory on the host that stores the Logstore configuration that AxoConsole sends to AxoRouter.
Logstore data directory
| Default value: | /var/lib/logstore |
| Environment variable | AXO_LOGSTORE_DATA_HOST_DIR |
| URL parameter | logstore_data_host_dir |
Description: Directory on the host that stores the working data of Logstore: the write-ahead log, and the scheduler and statistics databases. This data must be on a single local filesystem, you can’t split it to multiple disks.
Reinstalling AxoRouter doesn’t migrate any existing data to the new default directory.
Logstore warm directory
| Default value: | <logstore-data-directory>/warm (/var/lib/logstore/warm) |
| Environment variable | AXO_LOGSTORE_WARM_HOST_DIR |
| URL parameter | logstore_warm_host_dir |
Description: Directory on the host that stores the merged, but not yet archived Logstore data (in Apache Parquet format). You can place this directory on a separate disk.
Logstore archive directory
| Default value: | <logstore-data-directory>/archive (/var/lib/logstore/archive) |
| Environment variable | AXO_LOGSTORE_ARCHIVE_HOST_DIR |
| URL parameter | logstore_archive_host_dir |
Description: Directory on the host that stores the archived Logstore data (in Apache Parquet format). You can place this directory on a separate, slower disk, or on a network volume.
Logstore directories inside the container
| Default value: | /var/lib/logstore, /var/lib/logstore/warm, /var/lib/logstore/archive |
| Environment variable | AXO_LOGSTORE_DATA_DIR, AXO_LOGSTORE_WARM_DIR, AXO_LOGSTORE_ARCHIVE_DIR |
| URL parameter | logstore_data_dir, logstore_warm_dir, logstore_archive_dir |
Description: Mount paths of the data , warm , and archive directories inside the Logstore container. These options aren’t shown in the AxoConsole, and usually you don’t need to change them. To move the Logstore data on the host, set the host directory options instead.
RSigma parameters
These parameters are related to the RSigma detection engine that can be run on AxoRouter. RSigma is disabled by default. The AxoConsole shows these parameters only if detection is enabled for your tenant.
Enable RSigma
| Default value: | false |
| Available values: | true, false |
| Environment variable | AXO_RSIGMA_ENABLED |
| URL parameter | rsigma_enabled |
Description: Install the RSigma detection engine for this AxoRouter deployment.
RSigma image override
| Default value: | `` |
| Environment variable | AXO_RSIGMA_IMAGE |
| URL parameter | rsigma_image |
Description: Deploy the specified RSigma image instead of the default.
RSigma image repository
| Default value: | us-docker.pkg.dev/axoflow-registry-prod/axoflow/axorouter-rsigma |
| Environment variable | AXO_RSIGMA_IMAGE_REPO |
| URL parameter | rsigma_image_repo |
Description: Deploy RSigma from a custom image repository.
RSigma image version
| Default value: | Current Axoflow version |
| Environment variable | AXO_RSIGMA_IMAGE_VERSION |
| URL parameter | rsigma_image_version |
Description: Deploy the specified RSigma version.