Logstash - ELK stack - conf error

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:incompile_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:inmap'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/compiler.rb:10:in compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:153:ininitialize'", "org/logstash/execution/JavaBasePipelineExt.java:47:in initialize'", "D:/workplace/Elasticsearch/logstash-7.4.0/logstash-core/lib/logstash/java_pipeline.rb:26:ininitialize'", "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:inblock in converge_state'"]}
[2019-10-11T03:34:52,311][INFO ][logstash.runner ] Logstash shut down.

@rishikaswarnkar,

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

Thanks.