Logstasth pippeline error


(Marko Kevin Grilc) #1

Logstash wont allow me to create a pipeline with my config, between him and search. I wanted to import some data into the db, but had no luck.
Here's my config

Blockquote
input{
file{
path=>"E:\Programi\Elastic\Server\File\test.csv"
start_position=>"beginning"
sincedb_path =>"/dev/null"
}
}
filter{
csv{
separator =>";"
columns =>["Bbl", "routine name", "correct count", "stopless", "startless", "averge", "min", "max", "sum", "%"]
}
mutate{convert =>["Bbl", "integer"]}
mutate{convert =>["correct count", "integer"]}
mutate{convert =>["stopless", "integer"]}
mutate{convert =>["startless", "integer"]}
mutate{convert =>["averge", "double"]}
mutate{convert =>["min", "integer"]}
mutate{convert =>["max", "integer"]}
mutate{convert =>["sum", "integer"]}
mutate{convert =>["%", "double"]}
}
output{
elasticsearch{
user => "logstash_internal"
password => "test"
hosts=>"localhost:9200"
index =>"test"
document_type =>"tes_test"
}
stdout{}
}

And here's the log data from the error

Plz help if u can :slight_smile:


(Magnus B├Ąck) #2

I don't OTOH what the cause is, but you're not the first one to experience this error so make sure you google the error message.

sincedb_path =>"/dev/null"

On Windows use "nul" instead of "/dev/null".


(Marko Kevin Grilc) #3

Could it be that I'm missing some plugins? I saw that ppl use FileBeat to pars data, but it states it should be done like this also. Will google more, thx


(system) #4

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