Skip to content

Commit

Permalink
Merge pull request #12886 from Security-Onion-Solutions/dougburks-pat…
Browse files Browse the repository at this point in the history
…ch-1

FIX: Elasticsearch min_age regex #12885
  • Loading branch information
dougburks authored Apr 30, 2024
2 parents dd168e1 + 4d6124f commit e994479
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions salt/elasticsearch/soc_elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e994479

Please sign in to comment.