启动logstash时报错
之前运行的instance有缓冲,默认保存在data目录下。未知为elasticsearch设置’host’
·
报错1
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.
报错原因:
之前运行的instance有缓冲,默认保存在data目录下
解决方法:
cd data
ls -a
rm -f .lock
报错2
[2022-08-26T11:14:57,802][ERROR][logstash.outputs.elasticsearch] Unknown setting ‘host’ for elasticsearch
报错原因是:
未知为elasticsearch设置’host’
这是未修改前:
修改后:
更多推荐
已为社区贡献2条内容
所有评论(0)