Problem importing data to kibana through logstash


(Mansi Sharma) #1

above error occurs whenever i try connecting. My config file contains following code and i am using windows 10 OS.

input {
file{
path => "C:\Program Files\data\cars.csv"
start_position => "beginning"
sincdb_path => "/dev/null"
}
}
filter{
csv {
separator => ","
columns => ["maker", "model", "mileage", "manfacture_year", "engine_displacement", "engine_power", "body_type", "color_slug", "stk_year",
"transmission", "door_count", "seat_count", "fuel_type", "date_created", "date_last_seen", "price_eur" ]
}

mutate {convert => ["mileage", "integer"] }
mutate {convert => ["price_eur", "float"] }
mutate {convert => ["engine_power", "integer"] }
mutate {convert => ["door_count", "integer"] }
mutate {convert => ["seat_count", "integer"] }

}

output {
elasticsearcg {
hosts => "localhost"
index => "cars"
document_type => "sold_cars"
}
stdout {}
}


(Abdon Pijpelink) #2

It's always better to post the output of an error as text on this forum instead of a screenshot. :slight_smile: Also, I'm moving your post to the Logstash forum.

I think the problem is with the space in the path (Program Files). Try running Logstash in a directory without a space in the path.


(system) #3

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