Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. curator --config ./config.yml --dry-run ./action.yml
  2.  
  3. 2019-06-27 12:06:49,848 INFO Preparing Action ID: 1,
  4. "delete_indices"
  5. 2019-06-27 12:06:49,854 INFO Trying Action ID: 1,
  6. "delete_indices": Delete selected indices
  7. 2019-06-27 12:06:49,866 INFO DRY-RUN MODE. No changes will be
  8. made.
  9. 2019-06-27 12:06:49,866 INFO (CLOSED) indices may be shown that
  10. may not be acted on by action "delete_indices".
  11. 2019-06-27 12:06:49,866 INFO Action ID: 1, "delete_indices"
  12. completed.
  13. 2019-06-27 12:06:49,867 INFO Job completed.
  14.  
  15. ---
  16. # Remember, leave a key empty if there is no value. None will be a
  17. string,
  18. # not a Python "NoneType"
  19. client:
  20. hosts:
  21. - 127.0.0.1
  22. port: 9200
  23. url_prefix:
  24. use_ssl: False
  25. certificate:
  26. client_cert:
  27. client_key:
  28. ssl_no_validate: False
  29. http_auth:
  30. timeout: 30
  31. master_only: False
  32.  
  33. logging:
  34. loglevel: INFO
  35. logfile:
  36. logformat: default
  37. blacklist:
  38.  
  39. ---
  40. # Remember, leave a key empty if there is no value. None will be a
  41. string,
  42. # not a Python "NoneType"
  43. #
  44. # Also remember that all examples have 'disable_action' set to True.
  45. If you
  46. # want to use this action as a template, be sure to set this to False
  47. after
  48. # copying it.
  49. actions:
  50. 1:
  51. action: delete_indices
  52. description: "Delete selected indices"
  53. options:
  54. timeout_override: 300
  55. continue_if_exception: False
  56. filters:
  57. - filtertype: age
  58. source: creation_date
  59. direction: older
  60. timestring: '%Y.%W'
  61. unit: days
  62. unit_count: 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement