# Beat.name is not a keyword?

**URL:** <https://discuss.elastic.co/t/beat-name-is-not-a-keyword/159320>\
**Category:** Beats\
**Created:** [December 4, 2018, 9:29am UTC](https://discuss.elastic.co/t/beat-name-is-not-a-keyword/159320 "2018-12-04T09:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dao](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dao](https://discuss.elastic.co/u/dao)\
**Post date:** [December 4, 2018, 9:29am UTC](https://discuss.elastic.co/t/beat-name-is-not-a-keyword/159320/1 "2018-12-04T09:29:29Z")

</div>

Hello,

I have seen that `beat.name` is not a keyword when using the basic mapping. Is it done on purpose?

What is the best practice to allow `beat.name` to be a keyword? It is very useful to create visualization on `beat.name` terms

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [December 4, 2018, 2:42pm UTC](https://discuss.elastic.co/t/beat-name-is-not-a-keyword/159320/2 "2018-12-04T14:42:05Z")

</div>

`beat.name` is mapped as a keyword in the provided index template. Maybe you didn't [install it](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-template.html)?

```auto
./metricbeat version
metricbeat version 6.5.1 (amd64), libbeat 6.5.1 [b1c6ac83cc037bd75395334eed23b64bd63c87ef built 2018-11-16 01:38:01 +0000 UTC]

./metricbeat export template
...
        "beat": {
          "properties": {
            "hostname": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "name": {
              "ignore_above": 1024,
              "type": "keyword"
...

```

---

<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 1, 2019, 4:42pm UTC](https://discuss.elastic.co/t/beat-name-is-not-a-keyword/159320/3 "2019-01-01T16:42:06Z")

</div>

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