Increase amount of debug logs

Hello,

I've set my logstast.yml's log.level to debug. However there are only 9 log files actually being produced
missing-files/log-6/logstash-slowlog-plain.log
missing-files/log-6/logstash-plain-2020-05-21-1.log.gz
missing-files/log-6/logstash-plain-2020-05-21-2.log.gz
missing-files/log-6/logstash-plain-2020-05-21-3.log.gz
missing-files/log-6/logstash-plain-2020-05-21-4.log.gz
missing-files/log-6/logstash-plain-2020-05-21-5.log.gz
missing-files/log-6/logstash-plain-2020-05-21-6.log.gz
missing-files/log-6/logstash-plain.log
missing-files/log-6/logstash-plain-2020-05-21-7.log.gz

How can I increase the amount of debug logs that are retained?

the renaming and compressing and purging of logs is usually handled by logrotate, not by the software doing the logging. you might want to check your machine's logrotate configuration, in /etc/logrotate/ (if you're on some flavor of unix).

I'm using RHEL. Yes! Will fix that. Thank you!

1 Like

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