What is the recommended role for metric beat in cloud enterprise?
It works as superuser, but I suppose that isn't very great security wise. There's a role called metricbeat_reader, which I suppose cannot write to elastic. (What is that role actually used for?).
Maybe the metricbeat_reader role is a custom role created after the installation, but anyway I'm interested in the minimum recommended access the Metricbeat agent needs in elastic to be able to write metrics.