Rabbit connection error(refused) logstash

Viewed 20

I am developing a pipeline in logstash 6.3 which in input brings data from a sql query. In the filter it maps directly those fields and in the output it sends it to a rabbit queue.

Mi Output:

output {
 stdout { codec => rubydebug }
  rabbitmq {
     host => "22c01f23-7c2a-4a9d-a31c-***********.appdomain.cloud"
     port => "31529"
     exchange => "usersRabbit"
     exchange_type => "topic"
     key => "queue-key"
     ssl => true
     ssl_certificate_password => "${CERT_PASS}"
     ssl_certificate_path => "${CERT_PATH}"
     ssl_version => "TLSv1.2"
     durable => true
     persistent => true
     user => "ib****d28330e0c426"
     password => "9ef5c0a23aee95f3******"
     heartbeat => 5 
  }
}

My problem is that the pipeline is well formed, but when it tries to connect to RabbitMQ I get the following message:

enter image description here

Use the following command bin/logstash -f "/usr/share/logstash/config/conf.d/project.conf" --log.level debug

Which returned me a line showing the credentials (all correct) after the error I show above. I have been trying to solve this problem all day. Has anyone else struggled with something similar?

In addition to not being able to connect to rabbit I get this error.

enter image description here

But I think the problem lies in the rabbit connection. Help or ideas. Thanks

0 Answers
Related