Document settings for min and max shard size for time-size-optimizing rotation strategy (#24876)

* document settings for min and max shard size

* more realistic examples

* Updated description and sample values

For compatibility, we need these 2 settings. Even if they are the same value.

---------

Co-authored-by: Florian Petersen <188503754+fpetersen-gl@users.noreply.github.com>
This commit is contained in:
Patrick Mann
2026-02-04 11:27:14 +01:00
committed by GitHub
parent 575c28b191
commit 09d409c35c

View File

@@ -345,6 +345,15 @@ stream_aware_field_types=false
#
#enabled_index_rotation_strategies = count,size,time,time-size-optimizing
# When these configuration keys are not set, Graylog automatically sizes both min and max size of shards to 0.6x the RAM
# provision of the smallest Opensearch node assigned the 'data' role, with a minimum value of 10 GB and a maximum value of 41 GB.
# Where Graylog is not able to accurately identify the RAM provision of the Opensearch nodes, such as containers with
# dynamic memory configurations or when installing Graylog, MongoDB and Opensearch onto the same server as an all-in-one,
# these values should both be set manually within this configuration file to 0.6x the memory available to the Opensearch process.
#
#time_size_optimizing_rotation_min_shard_size = 10gb
#time_size_optimizing_rotation_max_shard_size = 10gb
# The default index rotation strategy to use.
#rotation_strategy = time-size-optimizing