Logstash could not be started because there is already another instance using the configured data di

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.

需要指定你的path.data,
进入你的bin目录下,输入

./logstash -f config-mysql –path.data=/var/log

或者

./logstash -f config-mysql –path.data=/root/

你可能感兴趣的:(linux)