# Missing fields in Kibana

**URL:** <https://discuss.elastic.co/t/missing-fields-in-kibana/256519>\
**Category:** Elasticsearch\
**Created:** [November 24, 2020, 2:30pm UTC](https://discuss.elastic.co/t/missing-fields-in-kibana/256519 "2020-11-24T14:30:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atul\_Chadha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atul_chadha/32/75469_2.png) [@Atul\_Chadha](https://discuss.elastic.co/u/Atul_Chadha)\
**Post date:** [November 24, 2020, 2:30pm UTC](https://discuss.elastic.co/t/missing-fields-in-kibana/256519/1 "2020-11-24T14:30:09Z")

</div>

OS : Centos 7.4, ELK Version: 7.6.2

I am trying to count how many hosts are configured in the ELK stack and for some reason `beat.hostname.keyword` is not pulling any data.

If i use the default metric without any other filter, i see the count ( about 10000 )

[![enter image description here](https://us1.discourse-cdn.com/elastic/original/3X/2/5/25037594ced033238956f9498c9725608d1bc084.png)](https://i.stack.imgur.com/3pZqS.png)

Also, i see the the index has a field `agent.hostname` however i am not seeing it in kibana filters / terms.

[![enter image description here](https://us1.discourse-cdn.com/elastic/original/3X/b/e/beec3d587ddb1eba06f94829380584d25ce75260.png)](https://i.stack.imgur.com/CiZCI.png)

Any suggestions how i can use the `agent.hostname` field to count the hosts ?

---

<div class="post-metadata">

**Author:** ![Atul\_Chadha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atul_chadha/32/75469_2.png) [@Atul\_Chadha](https://discuss.elastic.co/u/Atul_Chadha)\
**Post date:** [December 19, 2020, 11:16am UTC](https://discuss.elastic.co/t/missing-fields-in-kibana/256519/2 "2020-12-19T11:16:40Z")

</div>

Checking if anyone has any suggestions, i believe this may have happened because we migrated data from 5.x to 7.x and for some reason i am not able to filter out the agent.hostname in visualizations

---

<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 16, 2021, 11:16am UTC](https://discuss.elastic.co/t/missing-fields-in-kibana/256519/3 "2021-01-16T11:16:44Z")

</div>

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