当前位置:网站首页>解决启动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!!!!!
边栏推荐
猜你喜欢
随机推荐
Jenkins 参数化构建(Extended Choice Parameter)
【软件测试】进阶篇
【IP基本原理-ARP原理】
【软件测试】项目中关于测试人员的简单介绍
【软件测试】用例篇
为什么 RTP 的视频的采样率是 90kHz ?
Oauth2.0 Supplement
虚拟机使用的是此版本 VMware Workstation 不支持的硬件版本。模块“Upgrade”启动失败。未能启动虚拟机。
异常抛出错误
消息队列的技术选型
【路由器与交换机的作用与特点 】
Xshell 使用删除键乱码问题
假的服务器日志(给history内容增加ip、用户等内容)
hybrid 实现同网段但不同vlan之间通讯
Linux下mysql的彻底卸载
JVM常量池详解
【软件测试】selenium自动化测试1
unittest框架
【个人向】线性表复习
VLAN原理