# Logstash - ELK stack - conf error

**URL:** <https://discuss.elastic.co/t/logstash-elk-stack-conf-error/203190>\
**Category:** Logstash\
**Created:** [October 11, 2019, 8:54am UTC](https://discuss.elastic.co/t/logstash-elk-stack-conf-error/203190 "2019-10-11T08:54:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishikaswarnkar](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@rishikaswarnkar](https://discuss.elastic.co/u/rishikaswarnkar)\
**Post date:** [October 11, 2019, 8:54am UTC](https://discuss.elastic.co/t/logstash-elk-stack-conf-error/203190/1 "2019-10-11T08:54:23Z")

</div>

I am trying to configure the logstash to my ELK stack and i keep running into this error.  
I have Java version 8.

D:\workplace\Elasticsearch\logstash-7.4.0\>cd bin

D:\workplace\Elasticsearch\logstash-7.4.0\bin\>logstash -e 'input{stdin{}}output{stdout{}}'

Thread.exclusive is deprecated, use Thread::Mutex  
Sending Logstash logs to D:/workplace/Elasticsearch/logstash-7.4.0/logs which is now configured via log4j2.properties  
[2019-10-11T03:34:50,828][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2019-10-11T03:34:50,858][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"7.4.0"}  
[2019-10-11T03:34:52,143][ERROR][logstash.agent] Failed to execute action {:action=\>LogStash::PipelineAction::Create/pipeline\_id:main, :exception=\>"LogStash::ConfigurationError", :message=\>"Expected one of #, input, filter, output at line 1, column 1 (byte 1)", :backtrace=\>["D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/compiler.rb:41:in `compile_imperative'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/compiler.rb:49:in`compile\_graph'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/compiler.rb:11:in `block in compile_sources'", "org/jruby/RubyArray.java:2584:in`map'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/compiler.rb:10:in `compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:153:in`initialize'", "org/logstash/execution/JavaBasePipelineExt.java:47:in `initialize'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/java_pipeline.rb:26:in`initialize'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/pipeline\_action/create.rb:36:in `execute'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/agent.rb:326:in`block in converge\_state'"]}  
[2019-10-11T03:34:52,311][INFO][logstash.runner] Logstash shut down.

---

<div class="post-metadata">

**Author:** ![Tek\_Chand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tek_chand/32/34318_2.png) [@Tek\_Chand](https://discuss.elastic.co/u/Tek_Chand)\
**Post date:** [October 14, 2019, 10:37am UTC](https://discuss.elastic.co/t/logstash-elk-stack-conf-error/203190/2 "2019-10-14T10:37:22Z")

</div>

@rishikaswarnkar,

> [@rishikaswarnkar](#):
>
> "LogStash::ConfigurationError", :message=\>"Expected one of #, input, filter, output at line 1,

Please check as per above log or provide your logstash config file.

Thanks.

---

<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:** [November 11, 2019, 10:37am UTC](https://discuss.elastic.co/t/logstash-elk-stack-conf-error/203190/3 "2019-11-11T10:37:25Z")

</div>

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