Hello,
I am new to Logstash, Just now download logstash and tried to run the command.
logstash -e 'input{stdin{}}output{stdout{}}'. I got an error
Sending Logstash logs to C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logs which is now configured via log4j2.properties
[2020-01-18T21:18:08,811][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.queue", :path=>"C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/data/queue"}
[2020-01-18T21:18:09,018][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.dead_letter_queue", :path=>"C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/data/dead_letter_queue"}
[2020-01-18T21:18:09,224][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2020-01-18T21:18:09,263][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.5.1"}
[2020-01-18T21:18:09,331][INFO ][logstash.agent ] No persistent UUID file found. Generating new UUID {:uuid=>"3368f3e5-33fa-47bb-89a0-61e4f18d66a3", :path=>"C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/data/uuid"}
[2020-01-18T21:18:11,063][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [ \t\r\n], "#", "input", "filter", "output" at line 1, column 1 (byte 1)", :backtrace=>["C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/compiler.rb:41:in compile_imperative'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/compiler.rb:49:in
compile_graph'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/compiler.rb:11:in block in compile_sources'", "org/jruby/RubyArray.java:2584:in
map'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/compiler.rb:10:in compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:156:in
initialize'", "org/logstash/execution/JavaBasePipelineExt.java:47:in initialize'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/java_pipeline.rb:27:in
initialize'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/pipeline_action/create.rb:36:in execute'", "C:/Users/adity/Desktop/Elastic_Search/logstash-7.5.1/logstash-core/lib/logstash/agent.rb:326:in
block in converge_state'"]}
[2020-01-18T21:18:12,260][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2020-01-18T21:18:16,372][INFO ][logstash.runner ] Logstash shut down.
Please help me out from this situation. Thanks in advance