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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...