# Run logstash on windows -\>\> errors

**URL:** <https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987>\
**Category:** Logstash\
**Tags:** windows\
**Created:** [November 23, 2021, 8:30pm UTC](https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987 "2021-11-23T20:30:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [November 23, 2021, 8:30pm UTC](https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987/1 "2021-11-23T20:30:24Z")

</div>

Hi I need to check the performance one of my logstash conf. Therefore I've decided to install logstash on windows the new one instance as standalone. After that I've set the variable env.

At least I got the error. BTW. this pipeline(config) works on logstash docker.

```auto
Using JAVA_HOME defined java: C:\Program Files\Java\jdk-16.0.2
WARNING, using JAVA_HOME while Logstash distribution comes with a bundled JDK
2021-11-23T21:26:14.317+01:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
Sending Logstash logs to C:/logstash-7.15.2/logs which is now configured via log4j2.properties
[2021-11-23T21:26:28,958][INFO][logstash.runner] Log4j configuration path used is: C:\logstash-7.15.2\config\log4j2.properties
[2021-11-23T21:26:28,958][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"7.15.2", "jruby.version"=>"jruby 9.2.19.0 (2.5.8) 2021-06-15 55810c552b Java HotSpot(TM) 64-Bit Server VM 16.0.2+7-67 on 16.0.2+7-67 +indy +jit [mswin32-x86_64]"}
[2021-11-23T21:26:29,058][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2021-11-23T21:26:31,347][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}
[2021-11-23T21:26:31,827][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 83, column 5 (byte 2679) after ", :backtrace=>["C:/logstash-7.15.2/logstash-core/lib/logstash/compiler.rb:32:in `compile_imperative'", "org/logstash/execution/AbstractPipelineExt.java:187:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:72:in `initialize'", "C:/logstash-7.15.2/logstash-core/lib/logstash/java_pipeline.rb:47:in `initialize'", "C:/logstash-7.15.2/logstash-core/lib/logstash/pipeline_action/create.rb:52:in `execute'", "C:/logstash-7.15.2/logstash-core/lib/logstash/agent.rb:391:in `block in converge_state'"]}
[2021-11-23T21:26:31,927][INFO][logstash.runner] Logstash shut down.
[2021-11-23T21:26:31,936][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.19.0.jar:?]
        at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.19.0.jar:?]
        at C_3a_.logstash_minus_7_dot_15_dot_2.lib.bootstrap.environment.<main>(C:\logstash-7.15.2\lib\bootstrap\environment.rb:94) ~[?:?]

```

---

<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:** [November 23, 2021, 9:12pm UTC](https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987/2 "2021-11-23T21:12:17Z")

</div>

> [@INS](#):
>
> `at line 83, column 5`

OK, so what does the section of your configuration file around line 83 look like?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [November 23, 2021, 9:39pm UTC](https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987/3 "2021-11-23T21:39:53Z")

</div>

Badger has a good point, check your .conf file and inspect curly braces.

---

<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:** [December 21, 2021, 9:40pm UTC](https://discuss.elastic.co/t/run-logstash-on-windows-errors/289987/4 "2021-12-21T21:40:24Z")

</div>

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