It is necessary to add to name of the queue in the river name to make debug easier and to allow having several river consuming several RabbitMQ queues.
api_path = "/_river/logstash-"+@queue+"-#{hostname.gsub('.','_')}/_meta"
@status_path = "/_river/logstash-"+@queue+"-#{hostname.gsub('.','_')}/_status"