# Data in discover

**URL:** https://discuss.elastic.co/t/data-in-discover/232270
**Category:** Kibana
**Created:** [May 12, 2020, 4:17pm UTC](https://discuss.elastic.co/t/data-in-discover/232270 "2020-05-12T16:17:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hiba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hiba/32/110919_2.png) [@hiba](https://discuss.elastic.co/u/hiba)
#### Post date: [May 12, 2020, 4:17pm UTC](https://discuss.elastic.co/t/data-in-discover/232270/1 "2020-05-12T16:17:15Z")

</div>

Hi,

I load data from a rest api to elasticsearch via logstash.  
first i create my index 'bookings'with mapping then i load the data using logstash.  
the problem is when i view the datain discover i get error in the data type .  
for example 'idhotel': 125478 ... in discover it is displayed 'idhotel: 125,478  
ps: in the mapping I put 'idhotel' of type integer

any help please !

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [May 12, 2020, 9:15pm UTC](https://discuss.elastic.co/t/data-in-discover/232270/2 "2020-05-12T21:15:41Z")

</div>

Hi @hiba

You can change the display-format of a field-value using field-formatters of the index pattern. [https://www.elastic.co/guide/en/kibana/current/field-formatters-numeric.html](https://www.elastic.co/guide/en/kibana/current/field-formatters-numeric.html) (go to "Management"\>"Index pattern"-\> select your `bookings` index pattern)

You probably just want `String` formatter instead of the default.

---

<div class="post-metadata">

### Author: ![hiba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hiba/32/110919_2.png) [@hiba](https://discuss.elastic.co/u/hiba)
#### Post date: [May 12, 2020, 11:36pm UTC](https://discuss.elastic.co/t/data-in-discover/232270/3 "2020-05-12T23:36:02Z")

</div>

thank you .  
it's work

---

<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 9, 2020, 11:36pm UTC](https://discuss.elastic.co/t/data-in-discover/232270/4 "2020-06-09T23:36:03Z")

</div>

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