# Autodiscover categorizes field as long but discover says it's unknown

**URL:** <https://discuss.elastic.co/t/autodiscover-categorizes-field-as-long-but-discover-says-its-unknown/370948>\
**Category:** Kibana\
**Created:** [November 22, 2024, 11:53am UTC](https://discuss.elastic.co/t/autodiscover-categorizes-field-as-long-but-discover-says-its-unknown/370948 "2024-11-22T11:53:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbby](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mbby](https://discuss.elastic.co/u/mbby)\
**Post date:** [November 22, 2024, 11:53am UTC](https://discuss.elastic.co/t/autodiscover-categorizes-field-as-long-but-discover-says-its-unknown/370948/1 "2024-11-22T11:53:54Z")

</div>

Hi, I'm trying to ingest data and use auto discovery. When I look at the mappings my field is discovered as long. I guess that this is ok as it's an integer.

```auto
      "ResolveTime": {
        "type": "long"
      },

```

But when I go to Discovery and look at my data Kibana says **Unknown field** :  
 ![Screenshot 2024-11-22 at 12.50.30](https://us1.discourse-cdn.com/elastic/original/3X/8/8/8824253f744cc8e42068fc052ad85dc5f0c69a05.png)  
I don't know why it says unknown field and how to fix this. As I need to do some math with it.

---

<div class="post-metadata">

**Author:** ![mbby](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mbby](https://discuss.elastic.co/u/mbby)\
**Post date:** [November 25, 2024, 12:40pm UTC](https://discuss.elastic.co/t/autodiscover-categorizes-field-as-long-but-discover-says-its-unknown/370948/2 "2024-11-25T12:40:24Z")

</div>

It fixed itself. Don't know why it now shows all fields as numbers.
