Curator action file:
actions:
1:
action: rollover
options:
disable_action: False
name: index_prod_active
new_index: "<index_prod_v1_{now/d{YYYY_MM_dd}}-1>" # have also tried "<index_prod_v1_{now/d{YYYY_MM_dd}}-000001>"
conditions:
max_age: 1d
max_size: 8gb #this value is for testing purposes only
Message from logs:
ERROR Failed to complete action: rollover. <class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: TransportError(400, 'resource_already_exists_exception', 'index [index_prod_v1_2018_09_27-1/A7OAj2mZR2u0YHuGyyzKVw] already exists')
Expected behavior:
- new index created with name as such when conditions are met:
index_prod_v1_2018_09_27-2
I have followed the documentation here
I have read through this forum post
ES version - 6.2.3
Curator version - 5.5.4
I need to keep indices arranged by date, but I am also trying to keep shard sizes down to around ~20GB when all is said and done.