我正在使用Logstash 6.4.0。
尝试在Windows 10上安装Logstash时出现以下错误
C:\Development\Applications\Logstash\logstash-6.4.0\logstash-6.4.0>bin\logstash -e "input { stdin { } } output { stdout { } }"
[ERROR] 2018-09-07 10:45:42.258 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) no such file to load -- bundler
Following is the configuration in setup.bat
rem ### 3: set jruby
set JRUBY_BIN="%LS_HOME%\vendor\bundle\jruby\2.3.0\"
if not exist %JRUBY_BIN% (
echo "could not find jruby in %LS_HOME%\vendor\jruby" 1>&2
exit /b 1
)
我在运行logstash命令之前正在执行setup.bat