I have logstash watching a directory on the host. Every time it sees a log that matches the path I specified in the logstash config it starts to import the data into my elasticsearch cluster. Does logstash have a way to delete the log after it is done consuming it?
i want to write script to delete the logs that logstash already done with but how should i know which logs he done with ?
maybe u guys done this before or have an idea how to implement this?