I have lot of informations in my logstash-plain and the size can be increased to xx Gb.
I thought about two solutions :
First, I noticed that my logstash-plain.log contains x days informations, the solution is to make and archive the log every 1 day.
2nd solution, is to save only ERROR log level on my logstash plain.
I tried to edit the logstash.yml by adding log.level: error but nothing happened.
What's the best solution ?