Thank you .
I have updated my config file as below .but still i am getting the same log file.
please find below my config:
root@logsdev:~/curator# cat actions.yml
---
#
# We don't want the disk to fill up too much so use the following action set to clear down
# unnecessary data.
#
# You'll need to change this or add to it if you ever do rollover indexes instead.
#
actions:
1:
action: delete_indices
description: "Delete indices older than 31 days"
options:
allow_ilm_indices: true
ignore_empty_list: true
disable_action: false
filters:
- filtertype: pattern
kind: regex
exclude: true
value: "^\\.*"
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 31
Output log file:
2025-01-14 14:23:33,799 DEBUG curator.indexlist __not_actionable:58 Index st-active-users-[2025.01.04] is not actionable, removing from list.
2025-01-14 14:23:33,799 DEBUG curator.indexlist filter_by_regex:637 Filter by regex: Index: oracle-2022.03.09
2025-01-14 14:23:33,799 DEBUG curator.indexlist __not_actionable:58 Index oracle-2022.03.09 is not actionable, removing from list.
2025-01-14 14:23:33,799 DEBUG curator.indexlist filter_by_regex:637 Filter by regex: Index: oracle-2022.03.08
2025-01-14 14:23:33,799 DEBUG curator.indexlist __not_actionable:58 Index oracle-2022.03.08 is not actionable, removing from list.
2025-01-14 14:23:33,799 DEBUG curator.indexlist filter_by_regex:637 Filter by regex: Index: oracle-2022.03.07
2025-01-14 14:23:33,799 DEBUG curator.indexlist __not_actionable:58 Index oracle-2022.03.07 is not actionable, removing from list.
2025-01-14 14:23:33,799 DEBUG curator.indexlist filter_by_regex:637 Filter by regex: Index: oracle-2022.03.06
2025-01-14 14:23:33,799 DEBUG curator.indexlist __not_actionable:58 Index oracle-2022.03.06 is not actionable, removing from list.
2025-01-14 14:23:33,799 DEBUG curator.indexlist iterate_filters:1475 Post-instance: []
2025-01-14 14:23:33,799 DEBUG curator.indexlist iterate_filters:1459 Top of the loop: []
2025-01-14 14:23:33,799 DEBUG curator.indexlist iterate_filters:1460 Un-parsed filter args: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 31, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}
2025-01-14 14:23:33,800 DEBUG es_client.helpers.schemacheck __init__:60 Schema: {'aliases': Any(<class 'list'>, <class 'str'>, msg=None), 'allocation_type': Any(<class 'str'>, msg=None), 'count': Coerce(int, msg=None), 'date_from': Any(None, <class 'str'>, msg=None), 'date_from_format': Any(None, <class 'str'>, msg=None), 'date_to': Any(None, <class 'str'>, msg=None), 'date_to_format': Any(None, <class 'str'>, msg=None), 'direction': Any(<class 'str'>, msg=None), 'disk_space': <class 'float'>, 'epoch': Any(Coerce(int, msg=None), None, msg=None), 'exclude': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'field': Any(None, <class 'str'>, msg=None), 'intersect': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'key': Any(<class 'str'>, msg=None), 'kind': Any(<class 'str'>, msg=None), 'max_num_segments': Coerce(int, msg=None), 'number_of_shards': Coerce(int, msg=None), 'pattern': Any(<class 'str'>, msg=None), 'period_type': Any(<class 'str'>, msg=None), 'reverse': Any(None, <class 'bool'>, <class 'int'>, <class 'str'>, msg=None), 'range_from': Coerce(int, msg=None), 'range_to': Coerce(int, msg=None), 'shard_filter_behavior': Any(<class 'str'>, msg=None), 'size_behavior': Any(<class 'str'>, msg=None), 'size_threshold': Any(Coerce(float, msg=None), msg=None), 'source': Any(<class 'str'>, msg=None), 'state': Any(<class 'str'>, msg=None), 'stats_result': Any(None, <class 'str'>, msg=None), 'timestring': Any(None, <class 'str'>, msg=None), 'threshold_behavior': Any(<class 'str'>, msg=None), 'unit': Any(<class 'str'>, msg=None), 'unit_count': Coerce(int, msg=None), 'unit_count_pattern': Any(<class 'str'>, msg=None), 'use_age': <function Boolean at 0x7fcf34856430>, 'value': Any(<class 'int'>, <class 'float'>, <class 'bool'>, <class 'str'>, msg=None), 'week_starts_on': Any(None, <class 'str'>, msg=None), 'filtertype': Any(In(['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'shards', 'size', 'space', 'state']), msg="filtertype must be one of ['age', 'alias', 'allocated', 'closed', 'count', 'empty', 'forcemerged', 'ilm', 'kibana', 'none', 'opened', 'pattern', 'period', 'shards', 'size', 'space', 'state']")}
2025-01-14 14:23:33,800 DEBUG es_client.helpers.schemacheck __init__:62 "filter" config: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 31, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}
2025-01-14 14:23:33,800 DEBUG curator.indexlist iterate_filters:1466 Parsed filter args: {'filtertype': 'age', 'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 31, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}
2025-01-14 14:23:33,800 DEBUG curator.indexlist iterate_filters:1472 Filter args: {'source': 'name', 'direction': 'older', 'timestring': '%Y.%m.%d', 'unit': 'days', 'unit_count': 31, 'epoch': None, 'stats_result': 'min_value', 'exclude': False}
2025-01-14 14:23:33,800 DEBUG curator.indexlist iterate_filters:1473 Pre-instance: []
2025-01-14 14:23:33,801 DEBUG curator.indexlist filter_by_age:683 Filtering indices by age
2025-01-14 14:23:33,801 DEBUG curator.indexlist get_index_settings:328 Getting index settings -- BEGIN
2025-01-14 14:23:33,801 DEBUG curator.indexlist empty_list_check:448 Checking for empty list
2025-01-14 14:23:33,801 INFO curator.cli exception_handler:78 Skipping action "delete_indices" due to empty list: <class 'curator.exceptions.NoIndices'>
2025-01-14 14:23:33,801 INFO curator.cli run:236 Action ID: 1, "delete_indices" completed.
2025-01-14 14:23:33,801 INFO curator.cli run:237 All actions completed.
Could you please check on this?
Regards,
Padma.