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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...