# Issue with Logstash installation on Windows

**URL:** https://discuss.elastic.co/t/issue-with-logstash-installation-on-windows/159008
**Category:** Logstash
**Created:** [December 1, 2018, 5:23pm UTC](https://discuss.elastic.co/t/issue-with-logstash-installation-on-windows/159008 "2018-12-01T17:23:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ericmartinez90](https://avatars.discourse-cdn.com/v4/letter/e/ac8455/32.png) [@ericmartinez90](https://discuss.elastic.co/u/ericmartinez90)
#### Post date: [December 1, 2018, 5:23pm UTC](https://discuss.elastic.co/t/issue-with-logstash-installation-on-windows/159008/1 "2018-12-01T17:23:17Z")

</div>

Hello everyone,

I am entirely new to Elasticsearch, Logstash, and Kibana (ELK). I am currently taking a Udemy course to learn the ELK stack, but the instructor is covering the course material on a Mac platform, and I have a Windows 10 machine. I was able to download and install Elasticsearch and Kibana fine, but I'm encountering some issues with installing Logstash. I began with downloading the Logstash ZIP file for windows. I unzipped the file and placed it in the C:.

I attempted to verify that Logstash is working using C:\logstash-6.5.1\>bin\logstash -e 'input { stdin{}} output { stdout{}}'

I continue to get the following error.

ERROR: Unknown command '{'

See: 'bin/logstash --help'  
[ERROR] 2018-12-01 12:19:30.878 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Does anyone have any ideas on how to resolve this issue?

Additional Info:  
I've downloaded jdk1.8.0\_191 and assigned the variable value to C:\Program Files\Java\jdk1.8.0\_191 with the variable name JAVA\_HOME.

Thanks in advance,

Eric

---

<div class="post-metadata">

### Author: ![ChiaraLP](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@ChiaraLP](https://discuss.elastic.co/u/ChiaraLP)
#### Post date: [December 1, 2018, 6:06pm UTC](https://discuss.elastic.co/t/issue-with-logstash-installation-on-windows/159008/2 "2018-12-01T18:06:14Z")

</div>

Hi. You can try to change ' with ".

---

<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 29, 2018, 6:06pm UTC](https://discuss.elastic.co/t/issue-with-logstash-installation-on-windows/159008/3 "2018-12-29T18:06:17Z")

</div>

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