# Which role are the Beats clients supposed to use to connect to Elastic?

**URL:** https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [September 30, 2019, 5:38pm UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688 "2019-09-30T17:38:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Wanderer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wanderer/32/55140_2.png) [@Wanderer](https://discuss.elastic.co/u/Wanderer)
#### Post date: [September 30, 2019, 5:38pm UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688/1 "2019-09-30T17:38:10Z")

</div>

Is there already a built-in role for Beats clients in Elastic or does one need to be created?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [October 1, 2019, 4:27am UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688/2 "2019-10-01T04:27:01Z")

</div>

Hi,

This is all described in [https://www.elastic.co/guide/en/elastic-stack-overview/current/beats.html](https://www.elastic.co/guide/en/elastic-stack-overview/current/beats.html)

---

<div class="post-metadata">

### Author: ![Wanderer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wanderer/32/55140_2.png) [@Wanderer](https://discuss.elastic.co/u/Wanderer)
#### Post date: [October 1, 2019, 12:36pm UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688/3 "2019-10-01T12:36:43Z")

</div>

Thanks Ioannis. Still a bit confused. Is monitoring data different from logs that are shipped?

The role beats\_system shows access to .monitoring-beats-\* but not filebeat-\*

So there isn't a built-in role for filebeat clients so they can write log data to elastic?

---

<div class="post-metadata">

### Author: ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)
#### Post date: [October 1, 2019, 1:49pm UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688/4 "2019-10-01T13:49:47Z")

</div>

[https://www.elastic.co/guide/en/beats/filebeat/7.4/feature-roles.html#privileges-to-publish-events](https://www.elastic.co/guide/en/beats/filebeat/7.4/feature-roles.html#privileges-to-publish-events)

---

<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: [October 29, 2019, 1:49pm UTC](https://discuss.elastic.co/t/which-role-are-the-beats-clients-supposed-to-use-to-connect-to-elastic/201688/5 "2019-10-29T13:49:51Z")

</div>

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