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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...