Linux 上修改呢metricbeat.yml的权限,启动的时候报错。查了下解决方案 记录下
https://www.elastic.co/guide/en/beats/libbeat/5.3/config-file-permissions.html#config-file-permissions
简而言之就是所有者必须是root,然后权限必须是0644
sudo chmod 0644 /etc/metricbeat/metricbeat.yml
sudo chown root /etc/metricbeat/metricbeat.yml
执行上面两个命令之后重启就可以了