# Logstash Output

**URL:** <https://discuss.elastic.co/t/logstash-output/330786>\
**Category:** Logstash\
**Created:** [April 26, 2023, 5:34am UTC](https://discuss.elastic.co/t/logstash-output/330786 "2023-04-26T05:34:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dasher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dasher/32/137841_2.png) [@Dasher](https://discuss.elastic.co/u/Dasher)\
**Post date:** [April 26, 2023, 5:34am UTC](https://discuss.elastic.co/t/logstash-output/330786/1 "2023-04-26T05:34:26Z")

</div>

I have a logstash conf file with multiple output configured  
In both the outputs i'm using multiple if else statements.Is it possible for the data to get entered in the else statement of both output?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [April 26, 2023, 3:15pm UTC](https://discuss.elastic.co/t/logstash-output/330786/2 "2023-04-26T15:15:22Z")

</div>

Hi @Dasher,

Can you share your logstash config? Are you doing similar conditional logic to the [example in this blog post](https://www.elastic.co/blog/using-logstash-to-split-data-and-send-it-to-multiple-outputs)?

---

<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:** [May 24, 2023, 3:15pm UTC](https://discuss.elastic.co/t/logstash-output/330786/3 "2023-05-24T15:15:49Z")

</div>

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