栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

解决启动filebeat时遇到Exiting: error unpacking config data: more than one namespace configured accessing错误

解决启动filebeat时遇到Exiting: error unpacking config data: more than one namespace configured accessing错误

在虚拟机解压好filebeat后输入#: ./filebeat -c filebeat.yml

遇到如下问题!!!!!!

Exiting: error unpacking config data: more than one namespace configured accessing 'output' (source:'filebeat.yml')

翻译:

退出:解压缩配置数据时出错:访问“输出”时配置了多个命名空间(源:'filebeat.yml')

解决方法:

#注意要在自己安装filebeat目录下才能修改filebeat.yml

[filebeat目录下]#:vim filebeat.yml

进入后找到如下配置位置

#----------------------------Elasticsearch output ----------------------------------

output.elasticsearch:

       #Array of hosts to connecr to.

       hosts: ["localhost:9200"]

=====================修改====================

把Elasticsearch output下的内容注释掉即可

#----------------------------Elasticsearch output ----------------------------------

#output.elasticsearch:

       #Array of hosts to connecr to.

       hosts: ["localhost:9200"]

修改完成保存退出

重新启动filebeat

输入#: ./filebeat -c filebeat.yml

查看进程 输入#: ./filebeat -e -c filebeat.yml

 成功启动filebeat!!!!!

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/743042.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号