Dashboards & Visualizations

How to add IST and PST time as text field on Splunk dashboard?

Abhineet
Loves-to-Learn Everything

Want to add two text field in splunk xml dashboard i.e("IST" and "PST").

These text field should contain current IST date Time and Current PST date time respectively.

Dashboard Look alike as mentioned below.

 

Abhineet_0-1670332890619.png

 

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk stores timestamps as UTC internally and converts them to the user's selected time zone when displayed.  No provision is made for a dashboard to display times in a specific time zone.

You could use the relative_time function to subtract hours from IST to make it look like PST, but this would need to be updated every time either IST or PST started or ended Summer Time.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Abhineet
Loves-to-Learn Everything

is there any way to changes in xml source file and can show text field value as current IST and PST   date time?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...