Logstash 6.4.0 problem

Hello,

I have just installed logstash 6.4.0 and getting error below. I am using exactly the same config file (which I have used with 6.1.3 so far)
Is this a bug or something changed with the new version?

[2018-10-10T16:23:03,232][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:main
Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["C:\Data\MN\3GKPI.csv"], id=>"b9ddad9ac433ae87819e9ffca1d6351127dde1efe53efb530a103eef073ef813", type=>"2G", sincedb_path=>"C:\dev\null", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_c900bbaf-7d3d-4eb2-ac23-7139015c336b", enable_metric=>true, charset=>"UTF-8">, stat_interval=>1.0, discover_interval=>15, sincedb_write_interval=>15.0, delimiter=>"\n", close_older=>3600.0, mode=>"tail", file_completed_action=>"delete", sincedb_clean_after=>1209600.0, file_chunk_size=>32768, file_chunk_count=>140737488355327, file_sort_by=>"last_modified", file_sort_direction=>"asc">
Error: Permission denied - C:\dev\null
Exception: Errno::EACCES

I will appreciate your help.

Thank you

There is no /dev/null on Windows (which I assume you run Logstash on). If you need to avoid keeping a since_db file, try this instead in your configuration.

input {
    file {
        path => ["C:\Data\MN\3GKPI.csv"]
        start_position => "beginning"
        sincedb_path => "nul"
    }
}

Give path as shown below

path => "C:/Data/MN/3GKPI.csv"

Dear Gents. Thank you.
Both "nul" and replacing / with \ in the path name required to run the ls.
Actually, I am puzzled as in version 6.1.3 on windows , it was running w/o problem.
I suppose in the new version things changed.

Regards,

Murat

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