Curator Job to move data from hot to warm


We are using the curator job to move the data from hot to warm node.It works fine for daily indices and we are using the below parameters.

  timestring: '%Y.%m.%d'
  unit: days
  unit_count: 4

Getting the below error while moving monthly data.I am using the below action.yml file to move 2 month old data from hot to warm node.

action: allocation
  key: box_type
  value: warm
  allocation_type: require
  timeout_override: 21600
  ignore_empty_list: True
  wait_for_completion: True
  continue_if_exception: false
  disable_action: false
- filtertype: age
  source: name
  direction: older
  timestring: '%Y.%m'
  unit: months
  unit_count: 2

Index naming convention is like <index_name>-prod-2019.01,abc-tier-prod-2019.01...Please suggest any changes that to be done so it can move the monthly data from hot to warm node.

2019-03-20 19:32:17,421 DEBUG curator.indexlist filter_by_age:431 Filtering indices by age
2019-03-20 19:32:17,421 DEBUG curator.indexlist _get_name_based_ages:229 Getting ages of indices by "name"
2019-03-20 19:32:17,421 DEBUG curator.indexlist empty_list_check:184 Checking for empty list
2019-03-20 19:32:17,421 DEBUG curator.utils get_date_regex:195 regex = \d{4}.\d{2}
2019-03-20 19:32:17,421 DEBUG curator.indexlist working_list:195 Generating working list of indices
2019-03-20 19:32:17,436 ERROR curator.cli run:184 Failed to complete action: allocation. <class 'ValueError'>: unconverted data remains: 1

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.