# Logstash pipeline output based on field

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112>\
**Category:** Logstash\
**Created:** [May 18, 2020, 1:18pm UTC](https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112 "2020-05-18T13:18:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hameno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hameno/32/48475_2.png) [@hameno](https://discuss.elastic.co/u/hameno)\
**Post date:** [May 18, 2020, 1:18pm UTC](https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112/1 "2020-05-18T13:18:54Z")

</div>

Hello,  
I'm trying to setup a pipeline output based on a dynamic field.  
I found the same question in [Unexpected behavior when accessing field data in a pipeline-to-pipeline configuration](https://discuss.elastic.co/t/unexpected-behavior-when-accessing-field-data-in-a-pipeline-to-pipeline-configuration/184765) but there were no replies.  
Does anybody know if this is supported somehow?

---

<div class="post-metadata">

**Author:** ![Rahul\_Kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_kumar4/32/67369_2.png) [@Rahul\_Kumar4](https://discuss.elastic.co/u/Rahul_Kumar4)\
**Post date:** [May 18, 2020, 1:57pm UTC](https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112/2 "2020-05-18T13:57:39Z")

</div>

> [@hameno](#):
>
> Does anybody know if this is supported somehow?

Look at the Distributor pattern section of this document

> **[Pipeline-to-pipeline communication | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/pipeline-to-pipeline.html#distributor-pattern)**

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 18, 2020, 2:54pm UTC](https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112/3 "2020-05-18T14:54:15Z")

</div>

> [@hameno](#):
>
> Does anybody know if this is supported somehow?

No, it is not. The pipelines are configured and connected when logstash initializes, the names cannot be dependent on data in the events.

---

<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:** [June 15, 2020, 2:54pm UTC](https://discuss.elastic.co/t/logstash-pipeline-output-based-on-field/233112/4 "2020-06-15T14:54:27Z")

</div>

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