1. 程式人生 > >logstash 多例項執行

logstash 多例項執行

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

將原先的命令:

/bin/logstash  -f 010.conf  

改為:

/bin/logstash  -f 010.conf  --path.data=/root/

其中,--path.data是指存放資料的路徑