# What security roles or rights does functionbeat require for the username in the output.elasticsearch?

**URL:** <https://discuss.elastic.co/t/what-security-roles-or-rights-does-functionbeat-require-for-the-username-in-the-output-elasticsearch/258646>\
**Category:** Beats\
**Tags:** elastic-stack-security, functionbeat\
**Created:** [December 14, 2020, 8:52pm UTC](https://discuss.elastic.co/t/what-security-roles-or-rights-does-functionbeat-require-for-the-username-in-the-output-elasticsearch/258646 "2020-12-14T20:52:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Detert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonathan_detert/32/80849_2.png) [@Jonathan\_Detert](https://discuss.elastic.co/u/Jonathan_Detert)\
**Post date:** [December 14, 2020, 8:52pm UTC](https://discuss.elastic.co/t/what-security-roles-or-rights-does-functionbeat-require-for-the-username-in-the-output-elasticsearch/258646/1 "2020-12-14T20:52:35Z")

</div>

I want to create an elasticsearch user for function beat to use in the output.elasticsearch section. [The documentation](https://www.elastic.co/guide/en/beats/functionbeat/7.2/elasticsearch-output.html#_username) doesn't say anything about what rights or roles within elasticsearch the user will need. Can someone point me to where it's documented, or tell me what rights/roles are needed? Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 11, 2021, 10:52pm UTC](https://discuss.elastic.co/t/what-security-roles-or-rights-does-functionbeat-require-for-the-username-in-the-output-elasticsearch/258646/2 "2021-01-11T22:52:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
