# Error : \[LogStash::Runner\] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified \[FATAL\] 2022-02-18 16:47:25.987 \[LogStash::Runner\] runner - The given configuration is invalid

**URL:** https://discuss.elastic.co/t/error-logstash-runner-multilocal-ignoring-the-pipelines-yml-file-because-modules-or-command-line-options-are-specified-fatal-2022-02-18-1625-987-logstash-runner-runner-the-given-configuration-is-invalid/297628
**Category:** Logstash
**Tags:** elastic-stack-monitoring
**Created:** [February 18, 2022, 4:53pm UTC](https://discuss.elastic.co/t/error-logstash-runner-multilocal-ignoring-the-pipelines-yml-file-because-modules-or-command-line-options-are-specified-fatal-2022-02-18-1625-987-logstash-runner-runner-the-given-configuration-is-invalid/297628 "2022-02-18T16:53:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![d6036de2b54af16665f4](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@d6036de2b54af16665f4](https://discuss.elastic.co/u/d6036de2b54af16665f4)
#### Post date: [February 18, 2022, 4:53pm UTC](https://discuss.elastic.co/t/error-logstash-runner-multilocal-ignoring-the-pipelines-yml-file-because-modules-or-command-line-options-are-specified-fatal-2022-02-18-1625-987-logstash-runner-runner-the-given-configuration-is-invalid/297628/1 "2022-02-18T16:53:19Z")

</div>

**I am getting this error**

Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console  
[WARN] 2022-02-18 16:47:25.536 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified  
**[FATAL] 2022-02-18 16:47:25.987 [LogStash::Runner] runner - The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 88, column 1 (byte 88) after**

I am checking it with  
sudo bin/logstash --config.test\_and\_exit -f /etc/logstash/conf.d

I am able to see latest data in kibana as well, But don't know why this error is coming.

How i can find the place where i am getting this error and how to fix this .....?

---

<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: [March 18, 2022, 4:53pm UTC](https://discuss.elastic.co/t/error-logstash-runner-multilocal-ignoring-the-pipelines-yml-file-because-modules-or-command-line-options-are-specified-fatal-2022-02-18-1625-987-logstash-runner-runner-the-given-configuration-is-invalid/297628/2 "2022-03-18T16:53:40Z")

</div>

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