Logstash can't read some files

Hello,

We have 3 files log csv in a repository (windows), but 2 of them can't be read by logstash (6.2.4), the msg logstash is like this:

[WARN ][filewatch.tailmode.processor] >>> Rotation In Progress - inode change detected and original content is not fully read, file is closed and path points to new content {"watched_file details"=>"<FileWatch::WatchedFile: @filename='Erreur.csv', @state='rotation_in_progress', @recent_states='[:watched, :watched]', @bytes_read='0', @bytes_unread='0', current_size='2716', last_stat_size='2716', file_open?='false', @initial=false, @sincedb_key='unknown 0 0'>"}

The config logstash is:
input {
file {
path => "C:/log/*/1/Error.csv"
sincedb_path => "C:/logstash/data/.log1.sincedb"
codec => plain { charset => "US-ASCII"}
start_position => "beginning"
}

file {
	path => "C:/log/*/1/Error1.csv"
	sincedb_path => "C:/logstash/.log2.sincedb"
	codec => plain { charset => "US-ASCII"}
	start_position => "beginning"
		}
		
file {
	path => "C:/log/*/1/Error2.csv"
	sincedb_path => "C:/logstash/data/.log3.sincedb"
	start_position => "beginning"
		}
		
	}

I have already delete all sincedb file and clear cache in ES.

Any ideas about this error?

Thanks.

When we stop the logstash, the content of the sincedb file is:

unknown 0 0 0 1533904766.241 C:/log/1/1/Error.csv

How can we fix this issue?

Thanks.

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