diff --git a/salt/curator/files/action/delete.yml b/salt/curator/files/action/delete.yml index fb8ae30cb..c81a9e548 100644 --- a/salt/curator/files/action/delete.yml +++ b/salt/curator/files/action/delete.yml @@ -3,6 +3,11 @@ # https://securityonion.net/license; you may not use this file except in compliance with the # Elastic License 2.0. +{% import_yaml 'elasticsearch/defaults.yaml' as ELASTICDEFAULTS %} +{% set ELASTICMERGED = salt['pillar.get']('elasticsearch:retention', ELASTICDEFAULTS.elasticsearch.retention, merge=true) %} + +{{ ELASTICMERGED.retention_pct }} + {%- set log_size_limit = salt['pillar.get']('elasticsearch:log_size_limit') %} actions: 1: