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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...