# How to change permissions for fleet-managed Elastic Agents? \[security\_exception\]

**URL:** <https://discuss.elastic.co/t/how-to-change-permissions-for-fleet-managed-elastic-agents-security-exception/363780>\
**Category:** Elastic Agent\
**Tags:** fleet\
**Created:** [July 25, 2024, 11:04am UTC](https://discuss.elastic.co/t/how-to-change-permissions-for-fleet-managed-elastic-agents-security-exception/363780 "2024-07-25T11:04:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [August 12, 2024, 12:13pm UTC](https://discuss.elastic.co/t/how-to-change-permissions-for-fleet-managed-elastic-agents-security-exception/363780/4 "2024-08-12T12:13:00Z")

</div>

What is the index name that you are using in your set processor?

I'm not sure, but I think that if the name is not one of the default names, like `logs-*` or `metrics-*` it will not work.

Check this similar [question](https://discuss.elastic.co/t/elastic-fleet-server-cannot-create-write-to-index-insufficient-permissions/294181/2).

The documentation is a little confusing here, as it gives the impression that you could change the permissions for the `elastic/fleet-server`, but I don't think this is possible, it looks like this was a poor choice for an example.

@TimV Sorry to tag you, but since you answered a similar question, can you provide a little feedback here?

---

_[View the full topic](https://discuss.elastic.co/t/how-to-change-permissions-for-fleet-managed-elastic-agents-security-exception/363780)._
