# Show only time with out date

**URL:** <https://discuss.elastic.co/t/show-only-time-with-out-date/345059>\
**Category:** Kibana\
**Created:** [October 16, 2023, 2:53am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059 "2023-10-16T02:53:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveed786.shaik](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveed786.shaik](https://discuss.elastic.co/u/naveed786.shaik)\
**Post date:** [October 16, 2023, 2:53am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/1 "2023-10-16T02:53:18Z")

</div>

Hi All,

Need a help with Kibana dashboard , I could see the customization for date and time, in version 8.6.0 of the dashboard. I am trying to get indexed data with only time where need to exclude date.

Please suggest

Thanks,  
Shaik Naveed

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 17, 2023, 9:36am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/2 "2023-10-17T09:36:41Z")

</div>

Hi @naveed786.shaik ,

welcome to the Kibana community.

I think the best approach here is to store the full data with time, then either extract the time via a [runtime field](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html) or rather just use a formatter to show only the time component of the value.

For the runtime field route, there's an example within the `Sample data logs` where only the hour is exported:

 ![Screenshot 2023-10-17 at 11.33.48](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63dfd79065f238d8351e445a155e84aaaad23c1c.png)

If you prefer instead the format route, within the same panel check the `Set format` and change the format string appropriately:

 ![Screenshot 2023-10-17 at 11.35.59](https://us1.discourse-cdn.com/elastic/original/3X/3/0/3006429c3cd4d24207d51390b16c05f5393d1b6c.png)

---

<div class="post-metadata">

**Author:** ![naveed786.shaik](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveed786.shaik](https://discuss.elastic.co/u/naveed786.shaik)\
**Post date:** [October 19, 2023, 5:13am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/3 "2023-10-19T05:13:58Z")

</div>

> [@Marco\_Liberati](#):
>
> If you prefer instead the format route, within the same panel check the `Set format` and change the format string appropriately:

The Second option does not seems to exclude the date right.  
Do we have an option only to define time in syntax.

Regards,  
Shaik Naveed

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 19, 2023, 7:32am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/4 "2023-10-19T07:32:47Z")

</div>

You can check the moment format pattern page on how to show only the time part from a date: [Moment.js | Docs](https://momentjs.com/docs/#/displaying/format/)

---

<div class="post-metadata">

**Author:** ![naveed786.shaik](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveed786.shaik](https://discuss.elastic.co/u/naveed786.shaik)\
**Post date:** [October 24, 2023, 7:30am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/5 "2023-10-24T07:30:46Z")

</div>

Basically i am trying to pull the data based on 3 time zones in dashboard , where the date should not be included.  
Example : APAC , EMEA and US time zone in IST time  
APAC in IST (6.30am to 3.30pm) like wise.  
Whats the best approch

Regards,  
Shaik Naveed

---

<div class="post-metadata">

**Author:** ![naveed786.shaik](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveed786.shaik](https://discuss.elastic.co/u/naveed786.shaik)\
**Post date:** [October 30, 2023, 10:04pm UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/7 "2023-10-30T22:04:50Z")

</div>

@Marco_Liberati - any suggestions on the above.

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [October 31, 2023, 8:12am UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/8 "2023-10-31T08:12:51Z")

</div>

If you want to go thru the second option described above, just use the `HH: mm:ss` format as described in the moment.js docuementation.

---

<div class="post-metadata">

**Author:** ![naveed786.shaik](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@naveed786.shaik](https://discuss.elastic.co/u/naveed786.shaik)\
**Post date:** [November 3, 2023, 11:10pm UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/10 "2023-11-03T23:10:49Z")

</div>

@Marco_Liberati - Even after data fields customization to use HH:MM.SS while filtering out its taking date with time.

Please suggest

Regards,  
Shaik Naveed

---

<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 1, 2023, 11:11pm UTC](https://discuss.elastic.co/t/show-only-time-with-out-date/345059/11 "2023-12-01T23:11:48Z")

</div>

Closed on December 1, 2023, 11:11pm UTC

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