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是指存放数据的路径
————————————————
版权声明:本文为CSDN博主「cj2580」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/cj2580/article/details/79205513

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注