From 4d6124f982ccf63396a2020558db4601a642d6aa Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Tue, 30 Apr 2024 10:18:34 -0400 Subject: [PATCH] FIX: Elasticsearch min_age regex #12885 --- salt/elasticsearch/soc_elasticsearch.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/salt/elasticsearch/soc_elasticsearch.yaml b/salt/elasticsearch/soc_elasticsearch.yaml index 210697bba..42262a178 100644 --- a/salt/elasticsearch/soc_elasticsearch.yaml +++ b/salt/elasticsearch/soc_elasticsearch.yaml @@ -121,7 +121,7 @@ elasticsearch: cold: min_age: description: Minimum age of index. ex. 30d - This determines when the index should be moved to the cold tier. While still searchable, this tier is typically optimized for lower storage costs rather than search speed. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True helpLink: elasticsearch.html @@ -134,7 +134,7 @@ elasticsearch: warm: min_age: description: Minimum age of index. ex. 30d - This determines when the index should be moved to the warm tier. Nodes in the warm tier generally don’t need to be as fast as those in the hot tier. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True actions: @@ -147,7 +147,7 @@ elasticsearch: delete: min_age: description: Minimum age of index. ex. 90d - This determines when the index should be deleted. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True helpLink: elasticsearch.html @@ -276,7 +276,7 @@ elasticsearch: warm: min_age: description: Minimum age of index. ex. 30d - This determines when the index should be moved to the warm tier. Nodes in the warm tier generally don’t need to be as fast as those in the hot tier. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True advanced: True @@ -303,7 +303,7 @@ elasticsearch: cold: min_age: description: Minimum age of index. ex. 30d - This determines when the index should be moved to the cold tier. While still searchable, this tier is typically optimized for lower storage costs rather than search speed. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True advanced: True @@ -319,7 +319,7 @@ elasticsearch: delete: min_age: description: Minimum age of index. This determines when the index should be deleted. - regex: ^\[0-9\]{1,5}d$ + regex: ^[0-9]{1,5}d$ forcedType: string global: True advanced: True