Error when loading data into Logstash

Hello All, I am new to ELK and I was testing a sample file with the config file below. On running the log stash application, I got the error "No Configurationfound in the configures sources". I am using running it on Windows Server 2012 standard 64 bit.
Please assist as I am getting quite frustrated.

//Config file
zzzz
input {
file {
path=> "C:\Users\badesanya\Desktop\data\cars.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}

filter {
csv {
separator => ","
columns => ["maker", "model", "milage", "manufacture_year", "engine_displacement", "engine_power", "body_type", "color_slug",
"stk_year", "transmission", "door_count", "seat_count", "date_created", "date_last_seen", "price_eur"]

        }
        
    mutate{convert => ["milage", "integer"]}
    mutate{convert => ["price_euro", "float"]}
    mutate{convert => ["engine_power", "integer"]}
    mutate{convert => ["door_count", "integer"]}
    mutate{convert => ["seat_count", "integer"]}

}

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

Please don't post screenshots when you can copy/paste the plain text.

Logstash says that C:\Users\badesanya\Desktop\data\ELK\logstash-6.2.3\logstash-6.2.3\bin\logstash_cars.conf doesn't exist. Is that untrue?

thanks for ur feedback Magnus. I am new and will sure adjust to the rules.

For your comment, the config file exists. I used texpad and shared the config file contents in my earlier post.

Please assist

What's the output of

type C:\Users\badesanya\Desktop\data\ELK\logstash-6.2.3\logstash-6.2.3\bin\logstash_cars.conf

?

The command line just blinks but no further action.

Its just confussing cos I think I have done everything right

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