Hi All,
I have created one logstash pipeline using rabbitmq input plugin. But i am getting below error.
[ERROR] 2025-09-25 09:35:08.167 [[prabbitmq]<rabbitmq] rabbitmq - RabbitMQ connection error, will retry {:exception=>MarchHare::ConnectionRefused, :message=>"Connection timed out. Target host list: xxxxxxxxxxxxx.com:123, target virtual host: /, username: abbcc", :cause=>#<Java::JavaUtilConcurrent::TimeoutException: >}
i have verified connection between rabbitmq servers and logstash using telnet command it is showing connected.
My logstash configuration is
input {
rabbitmq {
host => "abc.bcq.com"
port => 123
user => "myuser"
password => "mypassword"
queue => "topic"
automatic_recovery => true
heartbeat => 30
}
}