身安不如心安,屋宽不如心宽 。

logstash5.4启动多个instance报错

Logstash | 作者 Lincoln | 发布于2017年06月22日 | 阅读数:9092

今天由logstash5.2.2升级到5.4.1,
 
 
1)5.2.2启动multiple instances正常 
# Sending Logstash's logs to /opt/elk/logstash/logs which is now configured via log4j2.properties
[2017-06-22T16:48:25,928][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {……

2)5.4.1启动multiple instances报错
# Sending Logstash's logs to /opt/elk/logstash/logs which is now configured via log4j2.properties
[2017-06-22T16:04:51,024][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.

请期待下在解决中
 
 
已邀请:

haosheng

赞同来自:

在之前的命令后面再加上 --path.data /var/log/1 这样才能执行,坑爹啊

要回复问题请先登录注册