Problem importing data to kibana through logstash

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

input {
path => "C:\Program Files\data\cars.csv"
start_position => "beginning"
sincdb_path => "/dev/null"
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 {}

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.


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