# RabbitMQ input plugin does not adhere to pipeline configuration

**URL:** <https://discuss.elastic.co/t/rabbitmq-input-plugin-does-not-adhere-to-pipeline-configuration/159384>\
**Category:** Logstash\
**Created:** [December 4, 2018, 2:40pm UTC](https://discuss.elastic.co/t/rabbitmq-input-plugin-does-not-adhere-to-pipeline-configuration/159384 "2018-12-04T14:40:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor.nilsson](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@victor.nilsson](https://discuss.elastic.co/u/victor.nilsson)\
**Post date:** [December 4, 2018, 2:40pm UTC](https://discuss.elastic.co/t/rabbitmq-input-plugin-does-not-adhere-to-pipeline-configuration/159384/1 "2018-12-04T14:40:05Z")

</div>

Hello,

I've been trying to use the rabbitMQ input plugin for logstash with the Cisco AMP API. More specifically, i want to connect to a stream and continuously listen for events and send that to our ELK stack.  
However, i am having difficulties even getting logstash to apply the configuration correctly.

This is my very basic and only configuration file in /etc/logstash/conf.d/

```
input {
  rabbitmq {
    host => "export-streaming.eu.amp.cisco.com"
    user => "1123123123"
    password => "123123123123"
    queue => "event_stream_169"
    port => 443
    subscription_retry_interval_seconds => 5
  }
}

output {
  elasticsearch {
         hosts => ["https://logstash.asgard.local:9200"]
         user => logstash
         password => "logstash"
         ssl => true
         ssl_certificate_verification => false
         cacert => "/etc/logstash/root-ca.pem"
  }
  stdout { codec => rubydebug }
}

```

However i can see in the log that it tries to go to localhost:5672, it seems that some of my configuration files aren't applied?

Dec 04 15:35:38 lab01ubu logstash[12376]: [2018-12-04T15:35:38,618][ERROR][logstash.inputs.rabbitmq] RabbitMQ connection error, will retry. {:error\_message=\>"Connection to localhost:5672 refused", :exception=\>"MarchHare::ConnectionRe

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 1, 2019, 2:40pm UTC](https://discuss.elastic.co/t/rabbitmq-input-plugin-does-not-adhere-to-pipeline-configuration/159384/2 "2019-01-01T14:40:06Z")

</div>

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