Add Actions for warm indices

This commit is contained in:
Mike Reeves
2021-08-31 15:09:26 -04:00
parent 476ecccbc1
commit ed116cf850
7 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-cyberark:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-cyberark
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-firewall:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-firewall
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-fortinet:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-fortinet
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-netscout:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-netscout
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-sonicwall:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-sonicwall
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-syslog:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-syslog
- filtertype: age
source: name
direction: older

View File

@@ -1,4 +1,4 @@
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-aws:warm', 7) -%}
{%- set WARM_DAYS = salt['pillar.get']('elasticsearch:index_settings:so-zeek:warm', 7) -%}
actions:
1:
action: allocation
@@ -14,7 +14,7 @@ actions:
filters:
- filtertype: pattern
kind: prefix
value: so-aws
value: so-zeek
- filtertype: age
source: name
direction: older