Require a unit suffix on Logstash and Elasticsearch heap settings and keep them correctable in SOC

This commit is contained in:
Josh Patterson committed 2026-12-02 16:14:39 -05:00
1 parent df44fe7670
commit 2d02beb752
2 files changed
+9 -3

No files matched your search

+4 -1
View File
@@ -17,7 +17,10 @@ elasticsearch:
global: True
advanced: True
esheap:
description: Specify the memory heap size in (m)egabytes for Elasticsearch.
description: Heap size to use for Elasticsearch, as a number followed by m (megabytes) or g (gigabytes), such as 600m.
forcedType: string
regex: ^[1-9][0-9]*[mMgG]$
regexFailureMessage: Must be a number followed by m or g, such as 600m.
helpLink: elasticsearch
index_clean:
description: Determines if indices should be considered for deletion by available disk space in the cluster. Otherwise, data is retained by the configured lifecycle settings. This setting only applies to EVAL, STANDALONE, and HEAVY NODE installations. Other installations use lifecycle settings only.
+5 -2
View File
@@ -403,8 +403,11 @@ logstash:
custom8: *pipeline_settings
custom9: *pipeline_settings
settings:
lsheap:
description: Heap size to use for logstash
lsheap:
description: Heap size to use for Logstash, as a number followed by m (megabytes) or g (gigabytes), such as 500m.
forcedType: string
regex: ^[1-9][0-9]*[mMgG]$
regexFailureMessage: Must be a number followed by m or g, such as 500m.
helpLink: logstash
global: False
config: