From Abdelkarim Mateos, 1 Year ago, written in Bash.
Embed
  1. curator_cli --host kvm487 --port 9200 show_snapshots --repository excelle_backup
  2.     2018-08-25 08:59:00,183 DEBUG     curator.cli_singletons.cli_action.show_snapshots          check_filters:117  Validating provided filters: [{'filtertype': 'none'}]
  3.     2018-08-25 08:59:00,184 DEBUG     curator.validators.SchemaCheck               __init__:26   Schema: <function Filters.<locals>.f at 0x7f3676dd91e0>
  4.     2018-08-25 08:59:00,184 DEBUG     curator.validators.SchemaCheck               __init__:27   "filters" config: [{'filtertype': 'none'}]
  5.     2018-08-25 08:59:00,186 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']")}
  6.     2018-08-25 08:59:00,186 DEBUG     curator.validators.SchemaCheck               __init__:27   "filter" config: {'filtertype': 'none'}
  7.     2018-08-25 08:59:00,186 DEBUG     curator.validators.filters                      f:48   Filter #0: {'filtertype': 'none'}
  8.     2018-08-25 08:59:00,187 DEBUG              curator.utils             get_client:803  kwargs = {'aws_token': None, 'port': 9200, 'client_key': None, 'client_cert': None, 'timeout': 30, 'url_prefix': '', 'certificate': None, 'aws_sign_request': False, 'aws_secret_key': None, 'aws_key': None, 'ssl_no_validate': False, 'http_auth': None, 'hosts': ['kvm487'], 'master_only': False, 'use_ssl': False}
  9.     2018-08-25 08:59:00,194 DEBUG              curator.utils             get_client:878  "requests_aws4auth" module present, but not used.
  10.     2018-08-25 08:59:00,205 DEBUG              curator.utils          check_version:689  Detected Elasticsearch version 5.6.10
  11.     2018-08-25 08:59:00,220 DEBUG              curator.utils      repository_exists:1251 Repository excelle_backup exists.
  12.     2018-08-25 08:59:00,410 DEBUG     curator.cli_singletons.cli_action.show_snapshots             do_filters:130  Running filters and testing for empty list object
  13.     2018-08-25 08:59:00,410 DEBUG       curator.snapshotlist        iterate_filters:505  All filters: [{'filtertype': 'none'}]
  14.     2018-08-25 08:59:00,410 DEBUG       curator.snapshotlist        iterate_filters:507  Top of the loop: ['curator-20180824185240', 'curator-20180824192717', 'curator-20180825043859']
  15.     2018-08-25 08:59:00,410 DEBUG       curator.snapshotlist        iterate_filters:508  Un-parsed filter args: {'filtertype': 'none'}
  16.     2018-08-25 08:59:00,413 DEBUG     curator.validators.SchemaCheck               __init__:26   Schema: {'intersect': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'field': Any(None, <class 'str'>, msg=None), 'unit_count': Coerce(int, msg=None), 'exclude': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'max_num_segments': Coerce(int, msg=None), 'timestring': Any(None, <class 'str'>, msg=None), 'value': Any(<class 'int'>, <class 'float'>, <class 'bool'>, <class 'str'>, msg=None), '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']"), 'unit': Any(<class 'str'>, msg=None), 'range_to': Coerce(int, msg=None), 'aliases': Any(<class 'list'>, <class 'str'>, msg=None), 'reverse': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'key': Any(<class 'str'>, msg=None), 'direction': Any(<class 'str'>, msg=None), 'date_to_format': Any(None, <class 'str'>, msg=None), 'source': Any(<class 'str'>, msg=None), 'epoch': Any(Coerce(int, msg=None), None, msg=None), 'use_age': <function Boolean at 0x7f3676dc8048>, 'period_type': Any(<class 'str'>, msg=None), 'week_starts_on': Any(None, <class 'str'>, msg=None), 'unit_count_pattern': Any(<class 'str'>, msg=None), 'stats_result': Any(None, <class 'str'>, msg=None), 'allocation_type': Any(<class 'str'>, msg=None), 'date_from_format': Any(None, <class 'str'>, msg=None), 'threshold_behavior': Any(<class 'str'>, msg=None), 'disk_space': <class 'float'>, 'range_from': Coerce(int, msg=None), 'kind': Any(<class 'str'>, msg=None), 'state': Any(<class 'str'>, msg=None), 'date_from': Any(None, <class 'str'>, msg=None), 'pattern': Any(<class 'str'>, msg=None), 'count': Coerce(int, msg=None), 'date_to': Any(None, <class 'str'>, msg=None)}
  17.     2018-08-25 08:59:00,414 DEBUG     curator.validators.SchemaCheck               __init__:27   "filter" config: {'filtertype': 'none'}
  18.     2018-08-25 08:59:00,414 DEBUG       curator.snapshotlist        iterate_filters:514  Parsed filter args: {'filtertype': 'none'}
  19.     2018-08-25 08:59:00,414 DEBUG       curator.snapshotlist        iterate_filters:523  Filter args: {}
  20.     2018-08-25 08:59:00,414 DEBUG       curator.snapshotlist        iterate_filters:524  Pre-instance: ['curator-20180824185240', 'curator-20180824192717', 'curator-20180825043859']
  21.     2018-08-25 08:59:00,414 DEBUG       curator.snapshotlist            filter_none:324  "None" filter selected.  No filtering will be done.
  22.     2018-08-25 08:59:00,414 DEBUG       curator.snapshotlist        iterate_filters:526  Post-instance: ['curator-20180824185240', 'curator-20180824192717', 'curator-20180825043859']
  23.     curator-20180824185240
  24.     curator-20180824192717
  25.     curator-20180825043859
  26.