Start from scratch every time you read a file for window logstash-input-file

I know if linux just set
sincedb_path => "/dev/null"
but my os is window,and I find a method set sincedb_path => "NUL",and it's not useful
so if I want to realized this effect ,how I can do

I've got these lines in my windows conf file, they seem to work...

			start_position => "beginning"
			sincedb_path => "NUL"

Give a full path to your sincedb_path or remove it

sincedb_path => "C:/Users/xxx/Desktop/FortiGate/traffic.log.sincedb"

If you don't provide it, logstash will automatically add a new one, I recommand that you set one


is ok?
but my computer is not usefull
are you sure that you can read from beginng every time when your logstash trigger read operation

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