# Index audit output

**URL:** <https://discuss.elastic.co/t/index-audit-output/68896>\
**Category:** Elasticsearch\
**Created:** [December 13, 2016, 3:37pm UTC](https://discuss.elastic.co/t/index-audit-output/68896 "2016-12-13T15:37:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![terje](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@terje](https://discuss.elastic.co/u/terje)\
**Post date:** [December 13, 2016, 3:37pm UTC](https://discuss.elastic.co/t/index-audit-output/68896/1 "2016-12-13T15:37:14Z")

</div>

I'm trying to start elasticsearch with the index audit logging enabled, but the x-pack plugin are not able to write the events to the cluster. In the logs I only get a lot of these messages:

`failed to index audit event: [access_granted]. internal queue is full, which may be caused by a high indexing rate or issue with the destination`

Enabling debug logging, I found this:

`security audit index template [security_audit_log] does not exist, so service cannot start`

How do I install that template?

(elasticsearch 5.1.1)

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [December 13, 2016, 4:26pm UTC](https://discuss.elastic.co/t/index-audit-output/68896/2 "2016-12-13T16:26:08Z")

</div>

The template is installed by the master node. Do you have the index output enabled on all nodes including the master?

---

<div class="post-metadata">

**Author:** ![terje](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@terje](https://discuss.elastic.co/u/terje)\
**Post date:** [December 16, 2016, 9:49am UTC](https://discuss.elastic.co/t/index-audit-output/68896/3 "2016-12-16T09:49:44Z")

</div>

Thanks, enabling index logging on all nodes worked.

---

<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 13, 2017, 9:49am UTC](https://discuss.elastic.co/t/index-audit-output/68896/4 "2017-01-13T09:49:59Z")

</div>

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