Problems with curator and logstash


(Dylan Gaudillat) #1

hello everyone i have a problem with curator to delete data from my indexes after 10 days when i run the command curator --config curator.yml --dry-run delete_index.yml it will not return anything to me delete nothing either

curator.yml :

client:
hosts:
- 172.20.15.80
port:9600
url_prefix:
use_ssl: False
certificate:
client_cert:
client_key:
ssl_no_validate: False
http_auth:
timeout: 30
master_only: False
logging:
loglevel: INFO
logfile:
logformat: default
blacklist: ['elasticsearch', 'urllib3']

delete_index.yml :

actions:
1:
action: delete_indices
description: >-
Delete indices older than 10 days (based on index name), for logstash-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
timeout_override:
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: logstash-
exclude:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 10
exclude:

thanks for your help


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.