Log rotation script for logstash/elasticsearch logs

Hi Team,

I am trying to understand the log rotation scripts for logstash/elasticsearch enabled by default. however i cannot find any logrotate script in servers.

Can you please explain, what is the default log rotation script enabled for the log file which gets created in /var/log/logstash or /var/log/elasticsearch??

Regards,
Pooja K S

The log4j2.properties for logstash uses rolling file appenders, so log4j does the file rotation.

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