错误信息:
Sending Logstash logs to /usr/local/logstash-6.4.3/logs which is now configured via log4j2.properties
[2019-07-14T17:37:06,988][FATAL][logstash.runner ] Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.
[2019-07-14T17:37:07,010][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
解决方法:
网络其他方法,进到 data 目录,删除目录下的缓存 .lock 。但没找到。。
就去config logstash.yml,重新设置新的 path.data.
如下:
再重启就好了: