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

**URL:** <https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642>\
**Category:** Logstash\
**Created:** [June 11, 2020, 8:04am UTC](https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642 "2020-06-11T08:04:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![111351](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111351/32/70125_2.png) [@111351](https://discuss.elastic.co/u/111351)\
**Post date:** [June 11, 2020, 8:04am UTC](https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642/1 "2020-06-11T08:04:21Z")

</div>

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

---

<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:** [June 11, 2020, 2:17pm UTC](https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642/3 "2020-06-11T14:17:40Z")

</div>

> [@111351](#):
>
> Expected one of #, =\> at line 1, column 30 (byte 30) after input{ stdin{} output{ stdout

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

---

<div class="post-metadata">

**Author:** ![111351](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111351/32/70125_2.png) [@111351](https://discuss.elastic.co/u/111351)\
**Post date:** [June 12, 2020, 6:59am UTC](https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642/4 "2020-06-12T06:59:36Z")

</div>

Thank you ,

---

<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:** [July 10, 2020, 6:59am UTC](https://discuss.elastic.co/t/logstash-input-stdin-output-stdout/236642/5 "2020-07-10T06:59:38Z")

</div>

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