windows - 在Logstash安装期间无法找到jruby

标签 windows elasticsearch installation logstash jruby

我正在学习一些有关ElasticSearch Stack的信息,并且在Windows 10上安装Logstash时遇到问题(Windows 10企业N OS版本15063.674)。

我安装了ElasticSearch和Kibana,它们已经启动并正在运行。

我按照this page上的步骤安装Logstash:

步骤1:下载并解压缩Logstash
下载“logstash-5.6.3.zip”文件并将其解压缩到:“c:\ program files \ elastic \”

步骤2:准备logstash.conf配置文件
here所述,我在“c:\ program files \ elastic \ logstash-5.6.3>”文件夹中创建了一个“logstash-simple.conf”

步骤3:执行bin / logstash -f logstash.conf
在这一点上,我遇到了问题(我尝试同时使用具有提升特权的cmd和PowerShell):结果是:

The system cannot find the path specified.
"could not find jruby in C:\Program Files\Elastic\logstash-5.6.3\vendor\jruby"

当然,“vendor”文件夹存在,并且里面有一个“jruby.bat”文件。我在网上搜索,发现有关JRUBY_BIN环境变量的信息,但是在创建(和其他重新引导)事件之后,问题仍然存在。

有人可以解决我的问题吗?

最佳答案

我找到了以下解决方案:https://discuss.elastic.co/t/logstash-does-not-start-says-could-not-find-jruby-in/113500
您也可以尝试将logstash文件夹从程序文件中直接移到C中,这可能会有所帮助。

关于windows - 在Logstash安装期间无法找到jruby,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47099259/

相关文章:

python - 在 python 中安装 vtk

windows - 使用批处理文件设置 Windows 环境变量

java - 如何在 spring-data Elasticsearch 中构建嵌套对象的搜索查询?

python - 无法将 pyexcel-xls 与 pyinstaller 一起使用。 python 可执行文件不工作。 python 版本 3.4.4

json - 在ElasticSearch上的批量请求返回消息 “The bulk request must be terminated by a newline”

Elasticsearch 映射似乎不适用于查询

r - 在 R 中安装秤

python - 如何在 macOS 或 OS X 上安装 pip?

c++ - 在没有窗口的情况下创建 OpenGL 上下文

windows - OpenSSL SSL_connect : Connection was reset in connection to github. com:443 git windows