# How to prevent Data Loss on Multipipeline Configuration

**URL:** <https://discuss.elastic.co/t/how-to-prevent-data-loss-on-multipipeline-configuration/257822>\
**Category:** Logstash\
**Created:** [December 7, 2020, 9:40am UTC](https://discuss.elastic.co/t/how-to-prevent-data-loss-on-multipipeline-configuration/257822 "2020-12-07T09:40:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MARCO\_RAMBALDI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_rambaldi/32/46108_2.png) [@MARCO\_RAMBALDI](https://discuss.elastic.co/u/MARCO_RAMBALDI)\
**Post date:** [December 7, 2020, 9:40am UTC](https://discuss.elastic.co/t/how-to-prevent-data-loss-on-multipipeline-configuration/257822/1 "2020-12-07T09:40:37Z")

</div>

Hi all,  
I have configured different pipelines (managed with a multipipeline configuration). Often, the one with the most data doesn't load all of them.  
For that I have added a specific DLQ . I also have enabled persistent queues. I have added RAM to the Logstash JVM.  
Now my configuration is the following:

![immagine](https://us1.discourse-cdn.com/elastic/original/3X/7/4/74243fd16a6fd1936ae9951223e16efde54ad1e1.png)

So I have this trend in Discover visualization:

 ![immagine](https://us1.discourse-cdn.com/elastic/original/3X/4/4/447831540e1709bd7e19bb0c7d57a6022b792f76.png)  
You can notice easily some partial data leap.

We're talking about 100.000 strings of 4.000 bytes per string. In total almost 400.000 bytes. But if I add the data manually with small batches, consequently I load all of them.  
Based on this estimation, I would like to understand how to better size the RAM.  
Can you suggest me any specific formula o something similar?

Thanks.

Marco

---

<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:** [January 4, 2021, 9:40am UTC](https://discuss.elastic.co/t/how-to-prevent-data-loss-on-multipipeline-configuration/257822/2 "2021-01-04T09:40:42Z")

</div>

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