I am using RabbitMq plugin for input in logstash and sending rabbitmq message on elasticsearch in outoput. I have created config file as below
input {
rabbitmq {
host => "ip address of rabbitmq server"
user => "mike"
password => "mike123"
subscription_retry_interval_seconds =>5
}
}
output {
elasticsearch {
hosts => [ "localhost:9200" ]
}
}
but when testing configuration i am getting error in configuration like unexpected Error: No config file found at ..Can you make sure file is logstash.config and
Some lengthy error below like
C:/ELK-Stack/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash..
Can anyone please share sample for rabbitmq input plugin config file?