Unable to load csv into elastic through logstash

input{
file{
start_position => "beginning"

path=>"C:\Users\Gokul\Desktop\tes.csv"
	}
}


output {
elasticsearch{
hosts=>localhost
index=>"test_prod"
	}	
	}

i have deleted the .null file in logstash think ie(since_db_path),,..

At first logstash waits for input but takes time,,now it shut down ..thinkk it happened after deleting .null file

Logstash is probably tailing tes.csv. To ensure that Logstash really reads the input files from the beginning, add sincedb_path => "nul" to your file input.

yeah it works...

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