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
Get Updates on the Splunk Community!

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...