Logstash does not delete processed files


My Logstash works fine. However, I can't force deleting old files.

Part of the configuration file:

input {
	file {
		mode => read
		path => "/home/user/data/data_pre/*_0"
		start_position => "beginning"
		file_completed_action => delete

logstash-input-file version:

Updating logstash-input-file
Updated logstash-input-file 4.1.10 to 4.1.11

How can I force deleting files?
file_completed_action => delete not work?

Do you have write access to /home/user/data/data_pre? Is that mount writeable?

After correcting the permissions, the files are deleted.
Thanks a lot!

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