RabbitMQ Input - Logstash (Json Parse Error)

input {
rabbitmq {
host => "localhost"
vhost => "Test"
queue => "Ishan"
durable => true
key => "NLog.*"
exchange => "np.fibre.esb"
threads => 3
prefetch_count => 50
port => 5672
user => "xxxx"
password => "xxxx"
codec => "plain"
}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"
}
}

Earlier without codec=> plain, it was displaying json parse errors, now with codec => plain it does not display anything.

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