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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

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 ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...