How to set umask in metricbeat?


#1

Hi,

how can i configure the umask for metricbeat logs?
I build from source on arm system.
When I start metricbeat it sets 600 as permission, but I would like to give other users than the beat process the permission to read them.

Thanks, Andreas


(Andrew Kroh) #2

Set logging.files.permissions: 0600 (using your desired mask). See the logging docs.


#3

I've build 5.6.2.
Its a new feature of 6.0.0, right?

does it work in 6.0.0 also for file output?


(Andrew Kroh) #4

Yeah, that's only master and 6.0. It does not work for the file output, but there is a stalled PR open for it at https://github.com/elastic/beats/pull/4638 (I just realized it never merged.)


(system) #5

This topic was automatically closed after 21 days. New replies are no longer allowed.