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是指存放数据的路径