# Unexpected behavior when accessing field data in a pipeline-to-pipeline configuration

**URL:** <https://discuss.elastic.co/t/unexpected-behavior-when-accessing-field-data-in-a-pipeline-to-pipeline-configuration/184765>\
**Category:** Logstash\
**Created:** [June 7, 2019, 1:45pm UTC](https://discuss.elastic.co/t/unexpected-behavior-when-accessing-field-data-in-a-pipeline-to-pipeline-configuration/184765 "2019-06-07T13:45:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![psmolkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psmolkin/32/47726_2.png) [@psmolkin](https://discuss.elastic.co/u/psmolkin)\
**Post date:** [June 7, 2019, 1:45pm UTC](https://discuss.elastic.co/t/unexpected-behavior-when-accessing-field-data-in-a-pipeline-to-pipeline-configuration/184765/1 "2019-06-07T13:45:04Z")

</div>

Hello  
I receive events from Filebeat and want to send it to the pipeline whose name matches the data from one of the event fields, for example

```
input { beats { port => "5000" } }
output {
    if [event][module] {
      pipeline { send_to => "%{[event][module]}" }
    }        
    else {
      pipeline { send_to => fallback }
    }
}

```

but got this error

```
[WARN][org.logstash.plugins.pipeline.PipelineBus] Attempted to send event to '%{[event][module]}' but that address was unavailable. Maybe the destination pipeline is down or stopping? Will Retry.

```

The _event.module_ field definitely exists, since the error occurs inside _if_

---

<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:** [July 5, 2019, 1:45pm UTC](https://discuss.elastic.co/t/unexpected-behavior-when-accessing-field-data-in-a-pipeline-to-pipeline-configuration/184765/2 "2019-07-05T13:45:07Z")

</div>

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