关于logstash启动失败问题
启动界面爆出
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults Could not find log4j2 configuration at path /usr/share/logstash/config/log4j
退出时直接按住CTRL+Z,配置文件后,重启重启爆出上面问题,启动失败
解决方案:ps -ef |grep logstash 查找相关的进程,找到前面的PID号。
kill -9 进程号 ,重启成功,退出的话使用CTRL。