# Auditbeat template - no fielddata allowed?

**URL:** <https://discuss.elastic.co/t/auditbeat-template-no-fielddata-allowed/217501>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [February 1, 2020, 5:59pm UTC](https://discuss.elastic.co/t/auditbeat-template-no-fielddata-allowed/217501 "2020-02-01T17:59:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethrbunny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ethrbunny/32/34603_2.png) [@ethrbunny](https://discuss.elastic.co/u/ethrbunny)\
**Post date:** [February 1, 2020, 5:59pm UTC](https://discuss.elastic.co/t/auditbeat-template-no-fielddata-allowed/217501/1 "2020-02-01T17:59:10Z")

</div>

Im using 7.5.2 across the board. I installed the auditbeat vis and dashboards but when I go to the 'logins' view I get a message

> Fielddata is disabled on text fields by default. Set fielddata=true on [event.action] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.

So I get the auditbeat 7.5.2 template and look at the properties for 'event.action' . First I notice that its already a 'keyword' field. Mmmk. So I try to add 'fieldata':'true' and Im told

> "type": "mapper\_parsing\_exception",  
> "reason": "Failed to parse mapping [\_doc]: Mapping definition for [action] has unsupported parameters: [fielddata : true]",

Seems like a disconnect here. How do I rectify this?

---

<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 22, 2020, 5:59pm UTC](https://discuss.elastic.co/t/auditbeat-template-no-fielddata-allowed/217501/2 "2020-02-22T17:59:14Z")

</div>

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