# Logstash ignoring parts of RabbitMQ message

**URL:** <https://discuss.elastic.co/t/logstash-ignoring-parts-of-rabbitmq-message/48438>\
**Category:** Logstash\
**Created:** [April 26, 2016, 2:08pm UTC](https://discuss.elastic.co/t/logstash-ignoring-parts-of-rabbitmq-message/48438 "2016-04-26T14:08:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonl](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@simonl](https://discuss.elastic.co/u/simonl)\
**Post date:** [April 26, 2016, 2:08pm UTC](https://discuss.elastic.co/t/logstash-ignoring-parts-of-rabbitmq-message/48438/1 "2016-04-26T14:08:23Z")

</div>

Hello, I'm new to elastic and logstash and I'm, not sure what's happening here.

I have multiple JSON documents in one Rabbit MQ message.

Logstash pops the queue sees the first document and ignores anything following.

Is there a way to get Logstash to see all documents?

Here is an example of one Rabbit message, the first JSON document is inserted into the database, the second one is ignored, any help greatly appreciated:

{  
"RMTD" : {  
"plugin\_timestamp" : "1461679110",  
"plugin\_output" : "",  
"plugin\_service\_description" : "Tables",  
"plugin\_site\_id" : "MKV",  
"plugin\_target" : "calypsoid",  
"plugin\_command" : "PROCESSRESULT",  
"plugin\_status\_code" : 0  
},  
"mtc" : {  
"metric\_max" : 0,  
"metric\_critical" : 90,  
"metric\_label" : "USERS",  
"metric\_value" : 2,  
"metric\_uom" : "%",  
"metric\_warning" : 80,  
"metric\_min" : 0  
}  
}

{  
"RMTD" : {  
"plugin\_timestamp" : "1461679110",  
"plugin\_output" : "",  
"plugin\_service\_description" : "Tables",  
"plugin\_site\_id" : "MKV",  
"plugin\_target" : "calypsoid",  
"plugin\_command" : "PROCESSRESULT",  
"plugin\_status\_code" : 0  
},  
"mtc" : {  
"metric\_max" : 0,  
"metric\_critical" : 90,  
"metric\_label" : "DATA",  
"metric\_value" : 8,  
"metric\_uom" : "%",  
"metric\_warning" : 75,  
"metric\_min" : 0  
}  
}

---

<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:** [July 6, 2017, 5:00am UTC](https://discuss.elastic.co/t/logstash-ignoring-parts-of-rabbitmq-message/48438/2 "2017-07-06T05:00:31Z")

</div>

Closed on July 6, 2017, 5:00am UTC


