From 6c3c5730c5550f01d71097d62cfc338186bfd9e7 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 27 Mar 2023 12:33:34 -0400 Subject: [PATCH] Add curator settings --- salt/curator/files/action/delete.yml | 5 +++++ 1 file changed, 5 insertions(+) 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: