当前位置:网站首页>解决启动filebeat时遇到Exiting: error unpacking config data: more than one namespace configured accessing错误
解决启动filebeat时遇到Exiting: error unpacking config data: more than one namespace configured accessing错误
2022-08-02 14:17:00 【发量不足】
在虚拟机解压好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!!!!!
边栏推荐
猜你喜欢
随机推荐
Zabbix: PHP option“date.timezone” Fail
双链表(普通迭代器和常性迭代器)
代码细节带来的极致体验,ShardingSphere 5.1.0 性能提升密钥
Apache ShardingSphere 5.1.1 正式发布
【IP基本原理-ARP原理】
The dynamic planning theory
【面经】被虐了之后,我翻烂了equals源码,总结如下
char array/string array|array pointer/pointer array/
Apache ShardingSphere 5.1.2 发布|全新驱动 API + 云原生部署,打造高性能数据网关...
【进程间通信】:管道通信/有名/无名
【软件测试】selenium自动化测试1
【数组】查表法(闰年)
一线大厂研发流程(转载自鱼皮)
【交换机端口安全技术 】
Vert.x web 接收请求时反序列化对象 Failed to decode 如何解决?
Oauth2.0 自定义响应值以及异常处理
Dcoker的安装及使用命令
假的服务器日志(给history内容增加ip、用户等内容)
【软件测试】进阶篇
Cmd Markdown Formula Guidebook










