When I read .gz log files, the files are not being deleted after being read. When I use an uncompressed file it seems to delete correctly.
-
logstash-input-file (4.1.11)
-
logstash-7.4.2
input {
file {
path => "/CS_dump/logstash-pickup/part-*.gz"
sincedb_path => "NUL"
codec => json
mode => "read"
file_completed_action => "delete"
}
}
I can create and delete files in the folder so I don't see how it could be a permission issue. I don't see any errors in the logs related to a failed delete attempt.