Dashboards & Visualizations

How to edit the splunk bar chart label?

darismendy
Explorer

Hello

I need to show two differents field values in the bar chart label, how can this be done?
So, as showns in the picture it display count but also another field e.g. impact 6bps

][1]

0 Karma

niketn
Legend

@darismendy, How are you getting the second value impact 6bps is it going to be constant or changing? Can you add sample data and your current query?

try the answers from @jeffland to add custom tooptip text to your chart: https://answers.splunk.com/answers/337329/is-it-possible-to-show-a-custom-tooltip-whenever-a.html

Following is another answer on similar lines indicating setTimeout()may be required if you are on Splunk 6.6 or higher: https://answers.splunk.com/answers/629575/how-to-change-the-dislay-value-in-graph.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

PowerPacked
Builder

Hi @darsimendy

I didn't understand your requirement properly but give this a try.

Your Search | timechart span=1m values(FieldA) values(FieldB)

Thanks

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...