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!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...