ark516
(arun)
November 27, 2019, 7:12pm
1
I have enabled skipping rollover option while using index lifyce cycle policy . But ILM still tries to perform rollover.
https://www.elastic.co/guide/en/elasticsearch/reference/current/skipping-rollover.html
below is the error we see
illegal_argument_exception: setting [index.lifecycle.rollover_alias] for index [oracle-alert-fields-2019.47] is empty or not defined
we are doing index rollover every day at logstash. we are trying to use lifecycle policy to delete indices whey they are x number of days old.
below are index settings
{
"index.query.default_field": [
"*"
],
"index.refresh_interval": "1s",
"index.write.wait_for_active_shards": "1",
"index.lifecycle.name": "cdldev_policy",
"index.lifecycle.indexing_complete": "true",
"index.blocks.read_only_allow_delete": "false",
"index.priority": "100",
"index.number_of_replicas": "1"
}
is anyone faced similar issue? are there any alternatives ways to fix roll over error while using iLM?
ark516
(arun)
December 12, 2019, 7:46pm
2
Hi
@alisongoryachev or @cufflinks , can you please help here?
sorry to tag , trying to get somehelp on this issue.
trying to understand why skipping rollover option is not functioning on the ILM policy
Thanks
ark516
(arun)
December 13, 2019, 3:07pm
3
i see a related post on this , but dont see a solution on this
It would appear that ILM is broken once you decide you wish to use ILM without rollover.
Note that I do not under any circumstance wish to activate rollover. We use daily indices. Please do not suggest I activate rollover and be done with it.
The purpose of the policy is to move daily indices to warm nodes after 21 days and then delete them after 100 days. This is the only thing I wish to do.
This is what the policy looks like:
{
"data-hot-warm-delete" : {
"version" : 1,
"modified_date"…
Tagging @oysteila if you have got any solution here.
Thanks your time.
ark516
(arun)
December 17, 2019, 2:58pm
4
Tagging @rashmi for help on this ILM skipping error.
system
(system)
Closed
January 14, 2020, 2:58pm
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
rashmi
(kulkarni)
January 28, 2020, 3:34pm
6
Hi @cjcenizal - this post needs some ILM rollover knowledge- can you please help ?
thanks
Rashmi