Splunk Search

Does anybody have any idea how to make values appear in a line chart while hovering on it?

manijain
New Member

For example i have the below search

eval Time_To_Map=strftime(strptime(STATUS_TIME,"%Y-%m-%d-%H.%M.%S.%3N"),"%H.%M") | stats values(Time_To_Map) as TME by COB_DATE,VSNAME,SLICEKEY 

Now, I want a chart that has X axis as COB_DATE and Y axis as TME , and as I hover through the chart, the value of VSNAME,SLICEKEY should appear

Values for COB_DATE are YYYYMMDD
Values of TME are HH.MM
Values of VSNAME,SLICEKEY are strings

0 Karma

niketn
Legend

@manijain you would need Simple XML JS extension (possibly CSS extension as well) to do this. Refer to @jeffland 's solution: https://answers.splunk.com/answers/337329/is-it-possible-to-show-a-custom-tooltip-whenever-a.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

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

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...