[BUG] Logstash's temp file auto remove fail

Please post all product and debugging questions on our forum. Your questions will reach our wider community members there, and if we confirm that there is a bug, then we can open a new issue here.

For all general issues, please provide the following details for fast resolution:

  • Version: logstash:5.4.1, output-s3: 4.07

  • Operating System: ubuntu or docker image:5.4.1

  • Config File (if you have sensitive info, please remove it):
    input {
    beats {
    port => 5002
    }
    }

output {
s3 {
access_key_id => "xxx"
secret_access_key => "xxx"
region => "xxx"
bucket => "my-logstash-log"
size_file => 10485760
time_file => 30
codec => line
prefix => "myAPI/%{+YYYY-MM-dd}"
encoding => "none" #none or gzip
restore => "false"
}
}

  • Sample Data:
    none.

  • Steps to Reproduce:
    By using this config , I found there files was locked by logstash when day change.
    So I got a lot of tmp file folder that didn't remove correctly in the /tmp/logstash/xxxxxxx .

How to resolve this problem?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.