Logstash-input{ stdin{} output{ stdout{} }

run logstash -e "input{ stdin{} output{ stdout{} }"
show error : Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, => at line 1, column 30 (byte 30) after input{ stdin{} output{ stdout", :backtrace=>["D:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/compiler.rb:41:in compile_imperative'", "D:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/compiler.rb:49:in compile_graph'", "D:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/compiler.rb:11:in block in compile_sources'", "org/jruby/RubyArray.java:2584:in map'", "D:/logstash-7.4.2/logstash-7.4.2/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:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/java_pipeline.rb:26:in initialize'", "D:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/pipeline_action/create.rb:36:in execute'", "D:/logstash-7.4.2/logstash-7.4.2/logstash-core/lib/logstash/agent.rb:326:in block in converge_state'"]}
thanks help

You need to add a } to close the input section after stdin {}

Thank you ,

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