Delete Old Log Files in ES 2.3.4

I want to have a logging window of 7 days in elasticsearch. I don't want to delete old indices. Found a couple of threads

but none provides a conclusion.

There are a few suggestions of using maxBackupIndex , but it doesn't work either.

I feel like at this point this is another reason to look at upgrading to 5.x. I'm fairly sure you can work out all kinds of logging stuff in 2.x but 5.x runs on log4j2 and uses log4j2's standard properties file so all the instructions on the internet about configuring log4j2 should be accurate for elasticsearch.

1 Like

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