RabbitMQ input: Incomplete info message in logstash startup log ("Connected to RabbitMQ at ")


#1

Hi,
when Logstash is starting and connecting to RabbitMQ to fetch messages from a queue, it prints a message into its log saying "Connected to RabbitMQ at ", but then it does not tell to which host it is connected.

See:

logstash_1  | [2018-10-17T16:26:08,894][INFO ][org.logstash.beats.Server] Starting server on port: 5044
logstash_1  | [2018-10-17T16:26:11,967][INFO ][logstash.inputs.rabbitmq ] Connected to RabbitMQ at 
logstash_1  | [2018-10-17T16:26:13,090][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}

But the actual host that is being connected is not printed. This seems to be a bug to me.

I'm using open source logstash as a docker: docker.elastic.co/logstash/logstash-oss:6.4.2, but I am sure I have seen this in my previous Logstash deployments too (not OSS, earlier 6.x.x versions).

The input config is:

  rabbitmq {
    queue => "xxx"
    host => "xxx"
    vhost => "xxx"
    subscription_retry_interval_seconds => 10
    heartbeat => 5
    metadata_enabled => true # may impact performance
    user => "xxx"
    password => "xxx"
    port => 5672
    durable => true
    codec => "plain" # default JSON
  }
}

(system) #2

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