Elastic search is not getting csv file data from logstash


#1

Hi, Here's my logstash config file.

input {
file { path => "/home/app/estest7.csv" start_position => "beginning" sincedb_path => "/home/app/input.log" } }
filter {
csv { columns => ["user_id","ts"] separator => "," } }
output {
elasticsearch { index => "jetprofiles" hosts => ["http://xxxxxxxx:9200"] } }

I have restarted logstash, the pipeline started without any issue. But there are 0 documents in jetprofiles index.

The csv file is below.

fffd208f58f741a28b94d44fb300e072,20171010
fffd83d1f0f34683910610c498532eec,20171010
fffd9c70bbc949b3891e6bb67bf28411,20171010
fffe3da81ddb4f83a717d4ae76aa9e24,20171010
ffff7ff2ac95499c8eabca2ad90ef3ee,20171010

Also, input.log is empty. What to do? Thanks


(system) #2

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