# Elasticsearch output manage\_template permissions

**URL:** <https://discuss.elastic.co/t/elasticsearch-output-manage-template-permissions/71879>\
**Category:** Logstash\
**Created:** [January 17, 2017, 4:19pm UTC](https://discuss.elastic.co/t/elasticsearch-output-manage-template-permissions/71879 "2017-01-17T16:19:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_g/32/44801_2.png) [@Brian\_G](https://discuss.elastic.co/u/Brian_G)\
**Post date:** [January 17, 2017, 4:19pm UTC](https://discuss.elastic.co/t/elasticsearch-output-manage-template-permissions/71879/1 "2017-01-17T16:19:39Z")

</div>

I am using logstash to manage my templates using the elasticsearch output and `manage_template`. I have given the following role to the logstash user (see screenshot)

![](https://us1.discourse-cdn.com/elastic/original/2X/7/7dbe429bc8444e25b841d7c234edea059826342b.png)

This is elasticsearch 5.1.1 hosted on [elastic.co](http://elastic.co)

You can see `manage_index_templates` is enabled. If I then add `superuser` permission to the user it creates the template fine, but I don't want to grant logstash all of those permissions. I thought `manage_index_templates` would be enough. Any ideas?

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:** [February 14, 2017, 4:19pm UTC](https://discuss.elastic.co/t/elasticsearch-output-manage-template-permissions/71879/2 "2017-02-14T16:19:53Z")

</div>

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