# Logstash linkage between input and output

**URL:** <https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080>\
**Category:** Logstash\
**Created:** [December 27, 2016, 3:42pm UTC](https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080 "2016-12-27T15:42:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makra](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Makra](https://discuss.elastic.co/u/Makra)\
**Post date:** [December 27, 2016, 3:42pm UTC](https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080/1 "2016-12-27T15:42:59Z")

</div>

Hi  
list experts  
Can anyone describe me in details, how logstash choose/link outputs ( among many output sections) for inputs that we had already defined ?

Thanks  
Makara

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 31, 2016, 1:12pm UTC](https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080/2 "2016-12-31T13:12:05Z")

</div>

The events from all inputs will be passed through all filters and will thereafter reach all outputs. The only way to affect this flow is to have conditionals (`if ... { ... }`) around filters or outputs.

---

<div class="post-metadata">

**Author:** ![Makra](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@Makra](https://discuss.elastic.co/u/Makra)\
**Post date:** [January 5, 2017, 5:51am UTC](https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080/3 "2017-01-05T05:51:34Z")

</div>

Hi  
Magnus  
Thanks for the reply and co-incidentally i have also read the same thread which is [[solved] Multiple logstash config file](https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692)

I have been able to debug the configuration error using the command # cat /etc/logstash/conf.d/\* \> /tmp/total.conf

Regards

---

<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 2, 2017, 5:52am UTC](https://discuss.elastic.co/t/logstash-linkage-between-input-and-output/70080/4 "2017-02-02T05:52:04Z")

</div>

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