File locking in Windows of logs from logstash preventing deletion


(Trekr5) #1

Hello,

I'm hoping someone can help me with this...

I've got logstash running on a windows machine. The logs from logstash are then transferred to an AWS S3 bucket using an S3 plugin (which is essentially a Ruby script).

Part of the plugin which deletes the logs from the local machine isn't working and I've been attempting to debug it. When I look at the log file to see why it isn't deleting, I can see that it is locked by a Java process and even if I try to force delete the log, it will not be deleted.

I'm wondering if anyone else has had a similar situation and if so how did they fix it.

Many thanks


(Mark Walkom) #2

Are these custom plugins?


(system) #3