Advertisement
Guest User

Untitled

a guest
Aug 7th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1. 2018-08-07 14:30:25,652 DEBUG curator.cli run:108 Client and logging options validated.
  2. 2018-08-07 14:30:25,652 DEBUG curator.cli run:112 default_timeout = 300
  3. 2018-08-07 14:30:25,652 DEBUG curator.cli run:116 action_file: delete-old-indices.yml
  4. 2018-08-07 14:30:25,657 DEBUG curator.cli run:118 action_config: {'actions': {1: {'action': 'delete_indices', 'description': 'delete indices that are older than 365 days', 'filters': [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}, {'filtertype': 'kibana', 'exclude': True}]}}}
  5. 2018-08-07 14:30:25,657 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'actions': <class 'dict'>}
  6. 2018-08-07 14:30:25,657 DEBUG curator.validators.SchemaCheck __init__:27 "Actions File" config: {'actions': {1: {'action': 'delete_indices', 'description': 'delete indices that are older than 365 days', 'filters': [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}, {'filtertype': 'kibana', 'exclude': True}]}}}
  7. 2018-08-07 14:30:25,658 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot']")}
  8. 2018-08-07 14:30:25,658 DEBUG curator.validators.SchemaCheck __init__:27 "action type" config: {'action': 'delete_indices', 'description': 'delete indices that are older than 365 days', 'filters': [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}, {'filtertype': 'kibana', 'exclude': True}]}
  9. 2018-08-07 14:30:25,658 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'action': Any(In(['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot']), msg="action must be one of ['alias', 'allocation', 'close', 'cluster_routing', 'create_index', 'delete_indices', 'delete_snapshots', 'forcemerge', 'index_settings', 'open', 'reindex', 'replicas', 'restore', 'rollover', 'shrink', 'snapshot']"), 'description': Any(<class 'str'>, <class 'str'>, msg=None), 'options': <class 'dict'>, 'filters': <class 'list'>}
  10. 2018-08-07 14:30:25,659 DEBUG curator.validators.SchemaCheck __init__:27 "structure" config: {'action': 'delete_indices', 'description': 'delete indices that are older than 365 days', 'filters': [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}, {'filtertype': 'kibana', 'exclude': True}]}
  11. 2018-08-07 14:30:25,662 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'allow_ilm_indices': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a17dd1e18>, msg=None), msg=None), 'continue_if_exception': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b3b6048>, msg=None), msg=None), 'disable_action': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b3b60d0>, msg=None), msg=None), 'ignore_empty_list': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b3b6268>, msg=None), msg=None), 'timeout_override': Any(Coerce(int, msg=None), None, msg=None)}
  12. 2018-08-07 14:30:25,663 DEBUG curator.validators.SchemaCheck __init__:27 "options" config: {'allow_ilm_indices': False, 'continue_if_exception': False, 'disable_action': False, 'ignore_empty_list': False}
  13. 2018-08-07 14:30:25,663 DEBUG curator.validators.SchemaCheck __init__:26 Schema: <function Filters.<locals>.f at 0x7f9a0b388ea0>
  14. 2018-08-07 14:30:25,663 DEBUG curator.validators.SchemaCheck __init__:27 "filters" config: [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}, {'filtertype': 'kibana', 'exclude': True}]
  15. 2018-08-07 14:30:25,664 DEBUG curator.defaults.filtertypes age:55 AGE FILTER = [{'direction': Any('older', 'younger', msg=None)}, {'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years', msg=None)}, {'unit_count': Coerce(int, msg=None)}, {'unit_count_pattern': Any(<class 'str'>, msg=None)}, {'epoch': Any(Coerce(int, msg=None), None, msg=None)}, {'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b3b6c80>, msg=None), msg=None)}, {'source': Any('name', 'creation_date', 'field_stats', msg=None)}, {'stats_result': Any('min_value', 'max_value', msg=None)}, {'field': Any(<class 'str'>, msg=None)}, {'timestring': Any(None, <class 'str'>, msg=None)}]
  16. 2018-08-07 14:30:25,665 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'filtertype': Any(In(['age', 'alias', 'allocated', 'closed', 'count', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'space', 'state']), msg="filtertype must be one of ['age', 'alias', 'allocated', 'closed', 'count', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'space', 'state']"), 'direction': Any('older', 'younger', msg=None), 'unit': Any('seconds', 'minutes', 'hours', 'days', 'weeks', 'months', 'years', msg=None), 'unit_count': Coerce(int, msg=None), 'unit_count_pattern': Any(<class 'str'>, msg=None), 'epoch': Any(Coerce(int, msg=None), None, msg=None), 'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b3b6c80>, msg=None), msg=None), 'source': Any('name', 'creation_date', 'field_stats', msg=None), 'stats_result': Any('min_value', 'max_value', msg=None), 'field': Any(<class 'str'>, msg=None), 'timestring': Any(None, <class 'str'>, msg=None)}
  17. 2018-08-07 14:30:25,665 DEBUG curator.validators.SchemaCheck __init__:27 "filter" config: {'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365}
  18. 2018-08-07 14:30:25,665 DEBUG curator.validators.filters f:48 Filter #0: {'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365, 'exclude': False, 'timestring': None, 'epoch': None, 'stats_result': 'min_value'}
  19. 2018-08-07 14:30:25,665 DEBUG curator.validators.SchemaCheck __init__:26 Schema: {'filtertype': Any(In(['age', 'alias', 'allocated', 'closed', 'count', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'space', 'state']), msg="filtertype must be one of ['age', 'alias', 'allocated', 'closed', 'count', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'space', 'state']"), 'exclude': Any(<class 'bool'>, All(Any(<class 'str'>, msg=None), <function Boolean at 0x7f9a0b361510>, msg=None), msg=None)}
  20. 2018-08-07 14:30:25,665 DEBUG curator.validators.SchemaCheck __init__:27 "filter" config: {'filtertype': 'kibana', 'exclude': True}
  21. 2018-08-07 14:30:25,666 DEBUG curator.validators.filters f:48 Filter #1: {'filtertype': 'kibana', 'exclude': True}
  22. 2018-08-07 14:30:25,666 DEBUG curator.cli run:121 Full list of actions: {1: {'action': 'delete_indices', 'description': 'delete indices that are older than 365 days', 'options': {'allow_ilm_indices': False, 'continue_if_exception': False, 'disable_action': False, 'ignore_empty_list': False, 'timeout_override': None}, 'filters': [{'filtertype': 'age', 'source': 'creation_date', 'direction': 'older', 'unit': 'days', 'unit_count': 365, 'exclude': False, 'timestring': None, 'epoch': None, 'stats_result': 'min_value'}, {'filtertype': 'kibana', 'exclude': True}]}}
  23. 2018-08-07 14:30:25,666 DEBUG curator.cli run:126 action_disabled = False
  24. 2018-08-07 14:30:25,666 DEBUG curator.cli run:130 continue_if_exception = False
  25. 2018-08-07 14:30:25,666 DEBUG curator.cli run:132 timeout_override = None
  26. 2018-08-07 14:30:25,666 DEBUG curator.cli run:134 ignore_empty_list = False
  27. 2018-08-07 14:30:25,666 DEBUG curator.cli run:136 allow_ilm_indices = False
  28. 2018-08-07 14:30:25,666 INFO curator.cli run:146 Preparing Action ID: 1, "delete_indices"
  29. 2018-08-07 14:30:25,667 DEBUG curator.utils get_client:803 kwargs = {'hosts': ['127.0.0.1'], 'port': 9200, 'use_ssl': True, 'certificate': '/etc/elasticsearch/x-pack/ca.crt', 'client_cert': '/etc/elasticsearch/x-pack/master1/master1.crt', 'client_key': '/etc/elasticsearch/x-pack/master1/master1.key', 'ssl_no_validate': False, 'master_only': False, 'aws_key': None, 'aws_token': None, 'url_prefix': '', 'aws_secret_key': None, 'http_auth': None, 'aws_sign_request': False, 'timeout': 300}
  30. 2018-08-07 14:30:25,667 DEBUG curator.utils get_client:809 Attempting to verify SSL certificate.
  31. 2018-08-07 14:30:25,674 DEBUG curator.utils get_client:880 Not using "requests_aws4auth" python module to connect.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement