Elastic - log rotation


I'm using elastic 2.1 .
When I run the ElasticSearch, after a while the log files take all the free space in / and the node goes down...

The logs are already in a rotating file mode. Meaning, every day there is a new log file.

I want to configure the logs to be zipped and deleted automatically.

Can I use logging.yml file to do it?
Is there any other way to do it using the elasticsearch configuration?


Why are they taking up so much space?

I'm using a component that writes to the log files.
I decreased the trace level but I still have a problem with the log size.
Is it possible to delete and zip old logs?

Yeah, it just uses log4j, so you can use it's standard rotation methods.