Logstash starts pipeline but no output on command line or index created


(Amaan Moledina) #1

Here is the Config file

   input {
         file {
           path => "c:/Users/Admin/Desktop/data/cars.csv"
       start_position => "beginning"
       sincedb_path => "/dev/null"
       ignore_older => 0		
}
}
    filter {
     csv {
		separator => ","

		columns => ["maker", "model","mileage"]
	}

	mutate {convert =>["mileage","integer"]}

}

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

#2

If you are on Windows and do not want a sincedb then you should set it "NUL".


(Amaan Moledina) #3

i changed it but still get the same result


#4

I suggest you increase the log level and see what it thinks it is doing (--log.level debug)


(system) #5

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