# When multiple pipeline is configured for logstash which is running on docker, data transfer is not happened

**URL:** <https://discuss.elastic.co/t/when-multiple-pipeline-is-configured-for-logstash-which-is-running-on-docker-data-transfer-is-not-happened/185994>\
**Category:** Logstash\
**Created:** [June 17, 2019, 5:50am UTC](https://discuss.elastic.co/t/when-multiple-pipeline-is-configured-for-logstash-which-is-running-on-docker-data-transfer-is-not-happened/185994 "2019-06-17T05:50:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garima](https://avatars.discourse-cdn.com/v4/letter/g/59ef9b/32.png) [@garima](https://discuss.elastic.co/u/garima)\
**Post date:** [June 17, 2019, 5:50am UTC](https://discuss.elastic.co/t/when-multiple-pipeline-is-configured-for-logstash-which-is-running-on-docker-data-transfer-is-not-happened/185994/1 "2019-06-17T05:50:36Z")

</div>

When multiple pipeline is configured for logstash running on docker with custom image then logstash pipeline gets started successfully, data transfer is not happened.

> ```
> Execution Steps:
> 1. Add below parameters in pipelines.yml
> - pipeline.id: in-take
> config.string: |
> input { file { path => "/var/log/sample.log" } }
> output { pipeline { send_to => ["file"] } }
> - pipeline.id: out-take
> config.string: |
> input { pipeline { address => "file" } }
> output { stdout {} }
> 2. Create a "Dockerfile" inside a directory "dockerLogstash"
> # vim Dockerfile
> FROM docker.elastic.co/logstash/logstash:6.4.1
> RUN rm -rf /usr/share/logstash/config/pipelines.yml
> RUN rm -rf /usr/share/logstash/config/logstash.yml
> RUN rm -rf /usr/share/logstash/pipeline/logstash.conf
> ADD config/pipelines.yml /usr/share/logstash/config/
> ADD config/logstash.yml /usr/share/logstash/config/
> ADD sample.log /var/log/
> USER root
> 3. Add attached configuration file(s) (logstash.yml, pipelines.yml) inside the same directory created in step-2
> 4. Build logstash custom docker image
> # docker build -t <image-name> .   
> 5. Check docker images created in step-4.
> # docker images
> 6. Run Logstash docker custom image
> # docker run <image-id>
> 
> ```

---

<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 15, 2019, 5:50am UTC](https://discuss.elastic.co/t/when-multiple-pipeline-is-configured-for-logstash-which-is-running-on-docker-data-transfer-is-not-happened/185994/2 "2019-07-15T05:50:41Z")

</div>

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