简体   繁体   English

Logstash-Windows 7

[英]Logstash- Windows 7

I try to install logstash basis on this website:我尝试在这个网站上安装 logstash 基础:

https://www.elastic.co/downloads/logstash https://www.elastic.co/downloads/logstash

When I call this comand:当我调用这个命令时:

logstash agent -f logstash.conf

in my CMD console, I get and error:在我的 CMD 控制台中,我得到并出错:

在此处输入图片说明

My bin file:我的bin文件:

在此处输入图片说明

PS.附注。 I get similar error with .conf file.我在 .conf 文件中遇到类似的错误。 Both are empty.两者都是空的。

Logstash comes with OpenJDK and fully packet all needed things. Logstash 带有 OpenJDK 并完全打包所有需要的东西。 In the error message, seen that the error exist because of using system jvm and your jvm is not supported.在错误信息中,看到错误是因为使用了系统jvm,不支持你的jvm。 Try to change your jdk to jdk8 or use installed OpenJDK of the logstash and check if your config file is ok.尝试将您的 jdk 更改为 jdk8 或使用已安装的 Logstash 的 OpenJDK 并检查您的配置文件是否正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM