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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...