# Custom Date-Time-Zone format in Kibana visualize

**URL:** https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571
**Category:** Kibana
**Created:** [August 5, 2021, 5:31pm UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571 "2021-08-05T17:31:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sohenrane](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@sohenrane](https://discuss.elastic.co/u/sohenrane)
#### Post date: [August 5, 2021, 5:31pm UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571/1 "2021-08-05T17:31:07Z")

</div>

In Kibana visualize, want to see Epoch being converted to Date-Time with Zone in any format.

Currently, using "moment.js" format in "Index Patterns" -\> " **epoch**" -\> "Format" (_Date Nanos_):  
ddd Do-MMM-YYYY Qo DDDo wo HH:mm:ss.SSSSSSSSS zz ZZ NNN / x

sample data:  
{"epoch":1628027243}

ES template:  
_"epoch": {_  
_"type": "date",_  
_"format": "epoch\_second"_  
_}_

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17f47a5f53e55703d7633a33890a9b0f5fe8d798.png)

Want to see the Epoch adjacent to the colours in Date-Time-Zone format.

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [August 10, 2021, 9:18pm UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571/2 "2021-08-10T21:18:31Z")

</div>

@sohenrane If I understand your question correctly, then what you want to know is how to view a date that's mapped as `epoch_second` in the elasticsearch index in date nano format in Kibana.  
You can change the way Kibana formats a field by editing the field in the Kibana index pattern:

 ![Screen Shot 2021-08-10 at 14.16.31](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f405763fe6421f2da5fee834020b865648472f1.png)

---

<div class="post-metadata">

### Author: ![sohenrane](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@sohenrane](https://discuss.elastic.co/u/sohenrane)
#### Post date: [August 18, 2021, 7:42pm UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571/3 "2021-08-18T19:42:35Z")

</div>

have already done mapping to "Date Nanos" in "Index Patterns", but no luck

actually, is it possible to do a tooltip in TSVB / Lens? using v7.14.0.

it is possible in Vega, but is it possible in Kibana?

tried the following:

- POST data:  
{"epoch":1629299664,"Date-Time-Zone":"Wed Aug 18 15:14:24 2021 EDT","statType":"maximum","dataType":"one","count":43274}

could not get other fields to load.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a93c2f2b6dffaa823c4d8fcbe00951e5fec532e4.png)

---

<div class="post-metadata">

### Author: ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)
#### Post date: [August 19, 2021, 12:08am UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571/4 "2021-08-19T00:08:22Z")

</div>

Vega is very customizable and you can pretty much do whatever you want with that type of visualization.  
Lens and TSVB are preconfigured visualizations and you don't have as much flexibility as with Vega. They are, however, very powerful on their own right, especially if you don't want to use Vega.

Being able to customize tooltips might be a nice feature though, so please feel free to open an issue for that and the visualizations teams will prioritise as they can.

---

<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: [September 16, 2021, 12:08am UTC](https://discuss.elastic.co/t/custom-date-time-zone-format-in-kibana-visualize/280571/5 "2021-09-16T00:08:59Z")

</div>

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