How to set umask in metricbeat?

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

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

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?

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.)

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