ank*_*185 1 elasticsearch logstash filebeat
我正在研究弹性堆栈,我已经运行了elasticsearch和logstash的服务器,并按照文档中所述进行进一步处理,此链接https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html
现在当我尝试执行这个命令时:
sudo ./filebeat -e -c filebeat.yml -d "publish"
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
Exiting: error loading config file: config file ("filebeat.yml") must be owned by the beat user (uid=0) or root
Run Code Online (Sandbox Code Playgroud)
我已更改该文件的权限,但无法解决此错误,请帮助
尝试使用这些更改权限以确保:
sudo chown root ./filebeat/filebeat.yml
sudo chmod go-w ./filebeat/filebeat.yml
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5145 次 |
| 最近记录: |