# Unknown filed type is not mapped

**URL:** <https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667>\
**Category:** Kibana\
**Created:** [May 14, 2017, 6:42am UTC](https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667 "2017-05-14T06:42:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [May 14, 2017, 6:42am UTC](https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667/1 "2017-05-14T06:42:06Z")

</div>

Hi,  
I have a filed with type **Unknown**. When investigating my index pattern and on the Dev Tool, I can't see that field, but can see it in my query/ searches results

The problem is that when I wish to display this field in my visualize, I can't. It's not there.  
Basically, this fields suppose to be string - it contain an object description. It's not numeric/date or  
anything else  
I refreshed the index pattern, but no change. I can't see this specific field

my Q's are:

- Why I'm not seeing this field?
- Why is it appears in my search query as unknown type? the field data can look like this:  
`abcde - Network 123 Investigation`
- I own a script that runs every night to update data in ES. What's the best way to map this fields to string? via ES API? Kibana Dev Tool ?

**In case it matter, the field name start with "\_" and it's not nested**

Any idea?  
10 in advance 👍

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 14, 2017, 9:39am UTC](https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667/2 "2017-05-14T09:39:20Z")

</div>

I believe fields starting with an underscore are treated as reserved fields and [should not be allowed](https://discuss.elastic.co/t/illegal-characters-in-elasticsearch-field-names/17196). How did you manage to index a field that starts with an underscore? Which version of Elasticsearch are you on?

---

<div class="post-metadata">

**Author:** ![avivc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avivc/32/16501_2.png) [@avivc](https://discuss.elastic.co/u/avivc)\
**Post date:** [May 15, 2017, 6:15am UTC](https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667/3 "2017-05-15T06:15:03Z")

</div>

hi @Christian_Dahlqvist  
My script fetch the data from the API and index it in ES. I'm not doing anything special to for parameters with underscore. Plus, I have other parameters that starts with underscore that have type

**I'm using 5.4.0**

---

<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:** [June 12, 2017, 6:27am UTC](https://discuss.elastic.co/t/unknown-filed-type-is-not-mapped/85667/4 "2017-06-12T06:27:39Z")

</div>

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