当前位置:网站首页>解决启动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!!!!!
边栏推荐
猜你喜欢
随机推荐
消息队列的技术选型
CPU缓存一致性协议MESI
自动化之参数化
网络运维系列:端口占用、端口开启检测
Class template/assignment operations and add operations
【路由器与交换机的作用与特点 】
The use of a semaphore/interprocess communication 】 【 Shared memory
[Inter-process communication]: pipe communication/named/unnamed
移动端UI自动化相关环境配置
OpenPose 命令行说明
Mysql开启日志并按天进行分割
ks.cfg 怎么读取光盘 (cdrom) 上的文件并执行对应的脚本
Homebrew的简单介绍
小知识点系列:数组与多维数组
Technical Selection of Message Queuing
IDEA如何进行远程Debug
Xrdp 体验优化
三方对接接口数据安全问题
【软件测试】性能测试理论
Xshell 使用删除键乱码问题










