passing in event to rabbitmq, collecting host and logging it.