Remove the older syslog from the logstash shipper

Hi,

How could I remove the older syslog from the Logstash Shipper after I have send it to my redis server?

One usually uses logrotate or a similar tool to rotate log files and only keep a limited number of log files.