Hi everybody,
I´m trying the get curator working for me, but I wasn´t successful so far:
Here´s what I´m doing:
curator.config.yml
client:
hosts: [ "10.135.0.14" ]
port: 9200
url_prefix:
use_ssl: False
certificate:
client_cert:
client_key:
ssl_no_validate: False
http_auth:
timeout: 30
master_only: False
logging:
loglevel: DEBUG
logfile: "/var/log/curator.log"
logformat: default
# blacklist: ['elasticsearch', 'urllib3']
blacklist: []
./config.d/delete-indices.yml
actions:
1:
action: delete_indices
options:
ignore_empty_list: True
timeout_override:
continue_if_exception: False
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: zebralogs-
exclude:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 2
exclude:
Example index name: "zebralogs-2017.09.13"
How I call it:
sudo curator --config ./curator-config.yml ./config.d/delete-indices.yml
What happen´s when I call it ?
NOTHING!
Can anybody help me out here ?