| Option | SECONDARY_DATA_DIRECTORY | |
| Description | Enables a secondary file system to store segment files | |
| Introduced Version | 1.0.0 | |
| Removed in Version | 1.233.99 | |
Warning
Secondary data storage is removed from version 1.234. If
SECONDARY_DATA_DIRECTORY is set, then
LogScale will throw an error on boot.
SECONDARY_DATA_DIRECTORY enables using a
secondary file system to store segment files. When to move the
files is controlled by
PRIMARY_STORAGE_PERCENTAGE. Secondary storage is
not enabled by default. Note, that when using Docker, make sure
to mount the volume into the container as well.
See the page on Secondary Storage for more information.
PRIMARY_STORAGE_PERCENTAGE=80
PRIMARY_STORAGE_MAX_FILL_PERCENTAGE=95
SECONDARY_DATA_DIRECTORY=/secondaryMountPoint/humio-data2
SECONDARY_STORAGE_MAX_FILL_PERCENTAGE=95
These properties define the disk space limits at which LogScale will throttle itself to avoid filling the disks. When the primary disk cap is hit, LogScale will attempt to use the secondary storage instead. If both caps are hit, the affected LogScale node will pause processing of logs, and will avoid downloading segments from other nodes or buckets, until disk space is freed.