diff --git a/misc/graylog.conf b/misc/graylog.conf index 18e07b3ddf..8098dfa6e2 100644 --- a/misc/graylog.conf +++ b/misc/graylog.conf @@ -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