Show only time with out date

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

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 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:

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

You can check the moment format pattern page on how to show only the time part from a date: Moment.js | Docs

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

@Marco_Liberati - any suggestions on the above.

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.

@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

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