mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-12-04 17:56:07 +01:00
Say whole number in the lsheap and esheap validation message
The regex only accepts whole numbers, so 1.5g is rejected; the message now says so.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -20,7 +20,7 @@ elasticsearch:
|
||||
description: Heap size to use for Elasticsearch, as a number followed by k (kilobytes), m (megabytes) or g (gigabytes), such as 600m.
|
||||
forcedType: string
|
||||
regex: ^[1-9][0-9]*[kKmMgG]$
|
||||
regexFailureMessage: Must be a number followed by k, m or g, such as 600m.
|
||||
regexFailureMessage: Must be a whole number followed by k, 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.
|
||||
|
||||
@@ -407,7 +407,7 @@ logstash:
|
||||
description: Heap size to use for Logstash, as a number followed by k (kilobytes), m (megabytes) or g (gigabytes), such as 500m.
|
||||
forcedType: string
|
||||
regex: ^[1-9][0-9]*[kKmMgG]$
|
||||
regexFailureMessage: Must be a number followed by k, m or g, such as 500m.
|
||||
regexFailureMessage: Must be a whole number followed by k, m or g, such as 500m.
|
||||
helpLink: logstash
|
||||
global: False
|
||||
config:
|
||||
|
||||
Reference in new issue
Block a user