报错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’
这是未修改前:
文章来源:https://www.toymoban.com/news/detail-568623.html
修改后:
文章来源地址https://www.toymoban.com/news/detail-568623.html
到了这里,关于启动logstash时报错的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!