Unknown error - when using config file


(Linlin) #1

Hi there,

I'm having trouble with my config file that I want to use.
I'm using windows 10 and the 6.5.1 version of elastic, kibana and logstash.
I've encountered quite a few errors but until now I've been able to solve them with topics on here, but now I'm stuck.
The error I get tells me this:
Error: Unknown error (SystemCallError) 123 - FindFirstFile

This is the config file I'm using:

input {
file {
path => "/C:/Users/acer/Documents/Data/cursisten.csv"
start_position => "beginning"
sincedb_path => "nul"
}
}
filter {
csv {
separator => ","
columns => [ "nummer", "ID", "achternaam", "voornamen", "roepnaam", "datum van inschrijving", "BOW registratienummer", "einddoel", "soort cursus", "start", "einde", "bet", "max", "kosten", "cursus"]
}
mutate {convert => ["nummer", "integer"]}
mutate {convert => ["ID", "integer"]}
mutate {convert => ["BOW registratienummer", "integer"]}
mutate {convert => ["kosten", "float"]}
}

output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["localhost:9200"]
index => "cursisten"
}
}

This error will come up and it will start over until the error pops up again

[2018-12-05T10:39:28,813][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:/Users/acer/Documents/Data/cursisten.csv"], id=>"eb4c9b5729ecd1b79a30aae62d04a0d05175b185a3d78a9fdf606c2e487f8423", sincedb_path=>"nul", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_728f0d06-f4a9-4ae1-bdaf-64f5d75f2620", 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: Unknown error (SystemCallError) 123 - FindFirstFile
Exception: SystemCallError

I don't know where I go wrong, but it probably something in my config file.
If someone can help me find it out it would help me so much.
Thanks in advance!


#2

change path
path => "/C:/Users/acer/Documents/Data/cursisten.csv"

to

path => "C:/Users/acer/Documents/Data/cursisten.csv"


(Linlin) #3

Thanks you so much! It works now! I


#4

cheers @Linlin, mark it as a solution :grinning: