title: Losing messages when using RabbitMQ with Logstash
body: <p>I have just installed RabbitMQ, I'm using it with logstash. 
  I have been sending messages but I lose a lot of data. I have no idea how could I solve it. I'm using the default configuration in rabbitMQ.</p>
  
  <p>These are the output in logstash and the input in logstash: </p>
  
  <pre><code>output {
   rabbitmq {
       host =&gt; "IPHOST"
       exchange =&gt; "logstash-rabbitmq"
       exchange_type =&gt; "direct"
       key =&gt; "logstash-key"
       workers =&gt;4
       durable =&gt; true
       persistent =&gt; true
  }
  }
  
  
  
  
  input
   {
  
  rabbitmq {
      host =&gt; "IPHOST"
      queue =&gt; "logstash-queue"
      durable =&gt; true
      key =&gt; "logstash-key"
      threads =&gt; 8
      prefetch_count =&gt; 100
      port =&gt; 5672
      user =&gt; "test"
      password =&gt; "test"
       ack =&gt; false
       exchange =&gt; "logstash-rabbitmq"
  }
  
  }
  </code></pre>
  
  <p>I'm using RabbitMQ Management in order to see the evolution of my queue.
  When I send 10,000 messages  I only receive less than a half. 
  Is there any parameter I should change to improve the behaviour of rabbitMQ? I was going to use it in order so that I don't lose messages, but I'm losing even more than when I didn't have it. </p>
  
  <p><a href="http://i.stack.imgur.com/W5bXq.png" rel="nofollow">I can't see any message in the queue</a></p>