Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curator --config ./config.yml --dry-run ./action.yml
- 2019-06-27 12:06:49,848 INFO Preparing Action ID: 1,
- "delete_indices"
- 2019-06-27 12:06:49,854 INFO Trying Action ID: 1,
- "delete_indices": Delete selected indices
- 2019-06-27 12:06:49,866 INFO DRY-RUN MODE. No changes will be
- made.
- 2019-06-27 12:06:49,866 INFO (CLOSED) indices may be shown that
- may not be acted on by action "delete_indices".
- 2019-06-27 12:06:49,866 INFO Action ID: 1, "delete_indices"
- completed.
- 2019-06-27 12:06:49,867 INFO Job completed.
- ---
- # Remember, leave a key empty if there is no value. None will be a
- string,
- # not a Python "NoneType"
- client:
- hosts:
- - 127.0.0.1
- 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: INFO
- logfile:
- logformat: default
- blacklist:
- ---
- # Remember, leave a key empty if there is no value. None will be a
- string,
- # not a Python "NoneType"
- #
- # Also remember that all examples have 'disable_action' set to True.
- If you
- # want to use this action as a template, be sure to set this to False
- after
- # copying it.
- actions:
- 1:
- action: delete_indices
- description: "Delete selected indices"
- options:
- timeout_override: 300
- continue_if_exception: False
- filters:
- - filtertype: age
- source: creation_date
- direction: older
- timestring: '%Y.%W'
- unit: days
- unit_count: 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement