logstash异常
1
2
3
|
Unrecognized VM option
'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
|
logstash的版本6.4.1,修改config/jvm.options,注释掉-XX:+UseParNewGC这个配置即可。
还有windows系统配置input-file时发现并没有将文件内容发送到es,原来是path配置的问题:
1
2
3
4
5
|
#下面两种无效
D:\elk\logs\*
D:\\elk\\logs\\*
#下面配置有效
D:
/elk/logs/
*
|