# Differences between Type and Format in Scripted Fields

**URL:** <https://discuss.elastic.co/t/differences-between-type-and-format-in-scripted-fields/90943>\
**Category:** Kibana\
**Created:** [June 27, 2017, 10:45am UTC](https://discuss.elastic.co/t/differences-between-type-and-format-in-scripted-fields/90943 "2017-06-27T10:45:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![magerRV](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@magerRV](https://discuss.elastic.co/u/magerRV)\
**Post date:** [June 27, 2017, 10:45am UTC](https://discuss.elastic.co/t/differences-between-type-and-format-in-scripted-fields/90943/1 "2017-06-27T10:45:49Z")

</div>

I'm working with Scripted Fields for a while but still didn't really get the difference between the Type and Format. Can someone please explain to me what it means or what I can do with it ?!

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 27, 2017, 2:58pm UTC](https://discuss.elastic.co/t/differences-between-type-and-format-in-scripted-fields/90943/2 "2017-06-27T14:58:10Z")

</div>

Type tells Kibana what type of field to expect, and changes the selection of formats available. You can think of it as a filter for available formats. Formats are client side transformations (ran in the browser - these never make it elasticsearch) that can help make the field more readable.

---

<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 25, 2017, 2:58pm UTC](https://discuss.elastic.co/t/differences-between-type-and-format-in-scripted-fields/90943/3 "2017-07-25T14:58:19Z")

</div>

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