A log rotation tool for logstash style logs stored in elasticsearch