Define deletion frequency to delete some logstash-plain-yyyy-mm-dd.log files in logstash directly


Is it possible (directly in logstash) to regulate deletion frequency about logstash-plain-yyyy-mm-dd.log files ?
For exemple, everyday i would like to delete logstash-plain-yyyy-mm-dd.log that created more than 2 weeks ago.

FYI : i use logstash version 5.2.1


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