# Scaling :logstash with reading MARIADB as input and elasticsearch is the output

**URL:** <https://discuss.elastic.co/t/scaling-logstash-with-reading-mariadb-as-input-and-elasticsearch-is-the-output/217292>\
**Category:** Logstash\
**Created:** [January 31, 2020, 4:06am UTC](https://discuss.elastic.co/t/scaling-logstash-with-reading-mariadb-as-input-and-elasticsearch-is-the-output/217292 "2020-01-31T04:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranab155](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@pranab155](https://discuss.elastic.co/u/pranab155)\
**Post date:** [January 31, 2020, 4:06am UTC](https://discuss.elastic.co/t/scaling-logstash-with-reading-mariadb-as-input-and-elasticsearch-is-the-output/217292/1 "2020-01-31T04:06:18Z")

</div>

Hi ,  
i have below queries ,  
1.can we read by two instance of logstash from same table ensuring there is no duplicate record read by either of instance and table has pk column name as "seq\_No"  
2. if elastic search is down how to stop push data from logstash

Please help me clarifying the above queries and How to achieve it by existing ELK capabilities.

Thanks in advance.

---

<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:** [February 28, 2020, 4:06am UTC](https://discuss.elastic.co/t/scaling-logstash-with-reading-mariadb-as-input-and-elasticsearch-is-the-output/217292/2 "2020-02-28T04:06:21Z")

</div>

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