Delete Monitoring's old indices

Hi,

Is there any smart way to delete old indices of Monitoring(Marvel)?
Simply delete indices, using elasticsearch-curator or any other way?

thanks

Curator can do it, though for 5.X it does only store 7 days by default.

2 Likes

thanks Mark.

I did not know that!
I will try to configure the "xpack.monitoring.history.duration" setting.

What version are you on? We added a functionality to automatically delete the indices in Marvel 2.3 by setting

marvel.history.duration
Sets the retention duration beyond which the indices created by Marvel will be automatically deleted. Defaults to 7 days. Set to -1 to disable automatic deletion of Marvel indices.

For more marvel configuration options, please visit
https://www.elastic.co/guide/en/marvel/current/configuration.html

-Bohyun

1 Like

thanks, Bohyun

I'm using marvel 1.3 and X-Pack(Monitoring) 5.2.
In case using 2.x, I will use it :slight_smile:

@mnozawa

Sounds great! Please let us know your feedback on X-Pack monitoring 5.2!

Thanks,
Bohyun

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