Splunk Enterprise

Map Tooltip Shows Epoch Time, Fails to Display Formatted Timestamp in Splunk 9.2.3

zzzzzz
New Member

Hello,

I am using Splunk Enterprise 9.2.3. I have a dashboard with a built-in map visualization that shows a path using geostats. My goal is to have the hover tooltip display a human-readable timestamp, but it only shows the raw epoch time.

I have tried every standard method to fix this (search-based formatting, custom JS with a new div, CSS overrides to hide the default tooltip), but none work in my environment. The default tooltip seems to be unstoppable.


0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the code that generates the data for the map.

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

zzzzzz
New Member
eventtype=my_nav_data 
            | eval lattitude = if(match(eventtype, "my_nav_data"), eventfield_1, null)
            | eval longitude = if(match(eventtype, "my_nav_data"), eventfield_2, null)
            | eval Altitude = if(match(eventtype, "my_nav_data"), tonumber(eventfield_3), null)
            | where isnotnull(lattitude) AND isnotnull(longitude)
            | geostats latest(_time) as epoch_time, latest(Altitude) as Altitude latfield=lattitude longfield=longitude 
 I tried evaluating the time after geostats as well but still the time in human readable format does not appear while hovering in map.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...