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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...