# How to display a datefield in custom format in Kibana, without changing @timestamp display format?

**URL:** <https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600>\
**Category:** Kibana\
**Created:** [November 29, 2017, 1:09pm UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600 "2017-11-29T13:09:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 29, 2017, 1:09pm UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600/1 "2017-11-29T13:09:52Z")

</div>

Hi,

I am using ELK GA 6. I have a timestamp field in my log and I have mapped it in Elasticsearch like below;

```
"timestamp": {
    "type": "date",
    "format": "MMM dd, YYYY h:mm:ss:SSS aa"
}

```

When I check the JSON tab in Kibana, the data is `"timestamp": "Nov 24, 2017 1:16:32:820 PM"`, but it is displayed (in Table tab) like below;

![time1](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6ea0feb236d0edb3446780b9988f7082b905bea.PNG)

Also, the `@timestamp` field also looks same like below;

![time2](https://us1.discourse-cdn.com/elastic/original/3X/2/0/200bb5777f3ec3a9431311209100066802816132.PNG)

The dates are same (it has to be because I use date filter in Logstash), and I have multiple time fields in my log. The problem is, I want to display my timestamo in a different format, like in the JSON. The `@timestamp` field may look what it looks like now, but the `timestamp` field need to be changed. I know about the `dateFormat` setting under `Advanced configurations` in Kibana, but it will change the `@timestamp` field too. How can I change the display format of `timestamp` field alone without affecting `@timestamp` field?

Thanks.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 29, 2017, 1:12pm UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600/2 "2017-11-29T13:12:45Z")

</div>

You'll probably have better luck asking in the Kibana group. Logstash isn't involved here.

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 29, 2017, 1:36pm UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600/3 "2017-11-29T13:36:17Z")

</div>

Sorry, my mistake 😜  
Updated.

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [November 30, 2017, 4:51am UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600/4 "2017-11-30T04:51:12Z")

</div>

Hi all, is there any way to do this?

---

<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:** [December 28, 2017, 4:51am UTC](https://discuss.elastic.co/t/how-to-display-a-datefield-in-custom-format-in-kibana-without-changing-timestamp-display-format/109600/5 "2017-12-28T04:51:24Z")

</div>

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