hello all,
i 've asked to archive an index daily , so i have created a ilm to make a rollover every day and after 2 hour delete the index , and also create a snapshot every day at a specific time .
was trying to make the ilm and snapshot sync to not have a snapshot with duplicated information (index) but i have found that the rollover don't accrue exactly every 1 day (1day and 2 hour sometimes), for that i cant sync them
PS :sry for my eng )
Regards
Welcome to our community!
Snapshots work on a shard level, so duplication is unlikely. Can you elaborate more on the ILM issue you are seeing? What does _ilm/explain
show?
PS - we also have language specific categories as well - https://discuss.elastic.co/c/in-your-native-tongue/11
Hello, thx for your replay
i have changed the ilm to make a rollover every 4h and delete it after 1h , but the issue still remains
my ilm/explain :
{
"indices" : {
"ntest-2020.10.30-000020" : {
"index" : "ntest-2020.10.30-000020",
"managed" : true,
"policy" : "ilm-ntest",
"lifecycle_date_millis" : 1604093963651,
"age" : "3.41d",
"phase" : "hot",
"phase_time_millis" : 1604093965764,
"action" : "rollover",
"action_time_millis" : 1604094563469,
"step" : "check-rollover-ready",
"step_time_millis" : 1604094563469,
"phase_execution" : {
"policy" : "ilm-infra",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_age" : "4h"
},
"set_priority" : {
"priority" : 100
}
}
},
"version" : 6,
"modified_date_in_millis" : 1603808688158
}
}
}
}
Can you share the policy you have created?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.