elastic/Machinebeat

linux error

Closed this issue · 1 comments

hello,
when i run machinebeat on linux:
./machinebeat -e -c machinebeat.yml
I get the following error message:
Exiting: error loading config file: config file ("machinebeat.yml") must be owned by the user identifier (uid=0) or root
best regards, Víctor.

hello:
I have fix it:
chown root machinebeat.yml
but I think it would be better if you use this so that it does not happen to more people:
--strict.perms = false
thank you.