Issue with Logstash installation on Windows

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

Hi. You can try to change ' with ".

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