# Multiple pipelines configurations not processed in Docker container

**URL:** https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258
**Category:** Logstash
**Tags:** docker
**Created:** [April 17, 2019, 10:00am UTC](https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258 "2019-04-17T10:00:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nufje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nufje/32/44284_2.png) [@nufje](https://discuss.elastic.co/u/nufje)
#### Post date: [April 17, 2019, 10:00am UTC](https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258/1 "2019-04-17T10:00:24Z")

</div>

Hello,

According [Configuring Logstash for Docker | Logstash Reference [6.4] | Elastic](https://www.elastic.co/guide/en/logstash/6.4/docker-config.html) i'am using multiple conf files in /usr/share/logstash/pipelines

My first question is: Do i understand correct that i can use multiple .conf files in /usr/share/logstash/pipelines configured as in my logstash.yml without further configuration.

First i had one .conf file and this is working. After that i added a second .conf file and this file is not processed. The first .conf file is still working, but the logging output contains

> [1] "multiline\_codec\_max\_lines\_reached"

I don't know if this is causing the problem that second conf file is not processed.  
In my memory this error wasn't there before i added the second pipeline, but i'am not sure :-).

The first pipeline processes a xml file with 370KB of data (which is/was working)  
The second pipeline processes a xml file with 240MB of data

My logstash.yml is:

```
http.host: "0.0.0.0"
xpack.monitoring.enabled: false
config.reload.automatic: true
path.config: "/usr/share/logstash/pipeline"

```

first lines of logging logstash:

> logstash\_1 | Sending Logstash logs to /usr/share/logstash/logs which is now configured via log4j2.properties  
> logstash\_1 | [2019-04-17T08:43:22,225][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"/usr/share/logstash/data/queue"}  
> logstash\_1 | [2019-04-17T08:43:22,262][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.dead\_letter\_qu  
> eue", :path=\>"/usr/share/logstash/data/dead\_letter\_queue"}  
> logstash\_1 | [2019-04-17T08:43:24,648][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules o  
> r command line options are specified  
> logstash\_1 | [2019-04-17T08:43:24,927][INFO][logstash.agent] No persistent UUID file found. Generating new UUID {:uuid=\>  
> "15b97308-220f-4381-9d37-ee7235f25192", :path=\>"/usr/share/logstash/data/uuid"}  
> logstash\_1 | [2019-04-17T08:43:28,683][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.4.2"}  
> logstash\_1 | [2019-04-17T08:45:01,812][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"  
> =\>2, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}

I don't know which information is necessary so that you can help me with this problem.  
Please ask for this and i will provide.

---

<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: [April 17, 2019, 12:44pm UTC](https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258/2 "2019-04-17T12:44:05Z")

</div>

> [@nufje](#):
>
> logstash\_1 | [2019-04-17T08:43:24,648][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified

When -f points to a directory it will concatenate all the files in the directory to create the configuration. Events will be read from all the inputs, sent through all of the filters, and events from all inputs will be written to all outputs unless you are using conditionals.

It sounds like you want the two configuration files to be independent, in which case you need to run them in separate [pipelines](https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html).

Separately... the multiline codec has limits on both the number of lines it will combine and the size of the resulting combination. You may need to [adjust](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-multiline.html#plugins-codecs-multiline-max_bytes) these upwards if you want to create a very large event.

---

<div class="post-metadata">

### Author: ![nufje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nufje/32/44284_2.png) [@nufje](https://discuss.elastic.co/u/nufje)
#### Post date: [April 17, 2019, 1:21pm UTC](https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258/3 "2019-04-17T13:21:22Z")

</div>

Aha the concatenation was not clear for me. Thank you for the clarification!  
I will create multiple pipelines.

Kind 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: [May 15, 2019, 1:21pm UTC](https://discuss.elastic.co/t/multiple-pipelines-configurations-not-processed-in-docker-container/177258/4 "2019-05-15T13:21:27Z")

</div>

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