Hi my config file is executed without any error. It's below
input {
file { type => "jetorders" path => "/home/app/jetorders*.csv" start_position => "beginning" sincedb_path => "/home/app/inputorders.log" } file { type => "jetitems" path => "/home/app/jetitems*.csv" start_position => "beginning" sincedb_path => "/home/app/inputitems.log" } }
filter {
if [type] == "jetorders" { json { source => "message" } } if [type] == "jetitems" { json { source => "message" } } }
output {
if [type] == "jetorders" { elasticsearch { index => "jetorders" hosts => ["http://xyz:9200"] } } if [type] == "jetitems" { elasticsearch { index => "jetitems" hosts => ["http://xyz:9200"] } } }
My sincedb-path files are showing 0 0 0 0 not sure why. And the logstash.log file shows that pipeline has started without any errors but I don't see anything in my elasticsearch.
Thanks.