# Help please: logstash start error

**URL:** <https://discuss.elastic.co/t/help-please-logstash-start-error/267630>\
**Category:** Logstash\
**Created:** [March 18, 2021, 9:58am UTC](https://discuss.elastic.co/t/help-please-logstash-start-error/267630 "2021-03-18T09:58:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![toufiq\_khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toufiq_khan/32/85598_2.png) [@toufiq\_khan](https://discuss.elastic.co/u/toufiq_khan)\
**Post date:** [March 18, 2021, 9:58am UTC](https://discuss.elastic.co/t/help-please-logstash-start-error/267630/1 "2021-03-18T09:58:24Z")

</div>

logstash showing this error  
Using bundled JDK: /usr/share/logstash/jdk  
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console  
[INFO] 2021-03-18 16:05:06.091 [main] runner - Starting Logstash {"logstash.version"=\>"7.11.2", "jruby.version"=\>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 11.0.8+10 on 11.0.8+10 +indy +jit [linux-x86\_64]"}  
[WARN] 2021-03-18 16:05:06.322 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[ERROR] 2021-03-18 16:05:07.066 [Converge PipelineAction::Create] agent - Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of [\t\r\n], "#", [A-Za-z0-9\_-], '"', "'", [A-Za-z\_], "-", [0-9], "[", "{", "]" at line 17, column 15 (byte 453) after output {\n stdout { codec =\> "json" }\n elasticsearch {\n hosts =\> [", :backtrace=\>["/usr/share/logstash/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:184:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:69:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:47:in `initialize'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline\_action/create.rb:52:in `execute'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:371:in `block in converge\_state'"]}

---

<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:** [March 18, 2021, 4:50pm UTC](https://discuss.elastic.co/t/help-please-logstash-start-error/267630/2 "2021-03-18T16:50:49Z")

</div>

What does the configuration of the output section look like?

---

<div class="post-metadata">

**Author:** ![FALEN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/falen/32/82754_2.png) [@FALEN](https://discuss.elastic.co/u/FALEN)\
**Post date:** [March 19, 2021, 8:08am UTC](https://discuss.elastic.co/t/help-please-logstash-start-error/267630/3 "2021-03-19T08:08:15Z")

</div>

Its probably there is something wrong with your pipeline, probably the output config file. There can be a missing "{" or "}"

thats not good either;  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console

You may need to start logstash with --path \*.yml

---

<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:** [April 16, 2021, 8:08am UTC](https://discuss.elastic.co/t/help-please-logstash-start-error/267630/4 "2021-04-16T08:08:59Z")

</div>

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