# Numbers and mappings

**URL:** https://discuss.elastic.co/t/numbers-and-mappings/42891
**Category:** Kibana
**Created:** [February 26, 2016, 7:21pm UTC](https://discuss.elastic.co/t/numbers-and-mappings/42891 "2016-02-26T19:21:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mad\_min](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mad_min/32/5964_2.png) [@mad\_min](https://discuss.elastic.co/u/mad_min)
#### Post date: [February 26, 2016, 7:21pm UTC](https://discuss.elastic.co/t/numbers-and-mappings/42891/1 "2016-02-26T19:21:26Z")

</div>

Hi team,

1. How can one create mappings for numbers such that large numbers are represented as K (for 1000), M(Million) etc?

2. How does one create custom mappings? (Such as bit rate: bps, or other ways of representation)

I have a feeling this needs to be done at ES. Any examples? Can this be done after the index is created?

Thanks in advance

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 26, 2016, 7:28pm UTC](https://discuss.elastic.co/t/numbers-and-mappings/42891/2 "2016-02-26T19:28:03Z")

</div>

1. Can be done with field formatters - [https://www.elastic.co/guide/en/kibana/current/managing-fields.html](https://www.elastic.co/guide/en/kibana/current/managing-fields.html)
2. Maybe with the same thing, depends what you want to do really.

You could do it in ES as well, but you'd need to reindex existing data.

---

<div class="post-metadata">

### Author: ![mad\_min](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mad_min/32/5964_2.png) [@mad\_min](https://discuss.elastic.co/u/mad_min)
#### Post date: [February 29, 2016, 9:42pm UTC](https://discuss.elastic.co/t/numbers-and-mappings/42891/3 "2016-02-29T21:42:12Z")

</div>

Perfect!! This helped a lot. Also, I used the 'docs' link in the mapping section of Kibana to understand what all can be achieved.

Thanks @warkolm

---

<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: [July 6, 2017, 2:00pm UTC](https://discuss.elastic.co/t/numbers-and-mappings/42891/4 "2017-07-06T14:00:48Z")

</div>


