Splunk Dev

Can I add legend to search results?

wang
Path Finder

I have a saved search that uses "stats count by xyz" which produces a simple table search result. Is there any way I can add a legend or text block to the search result to clarify the column names? I want to add text that says "response time is in milliseconds and throughput is requests/second".

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You should be able to customize charts, tables, and other visualizations in dashboards and dashboard panels via the GUI or Simple XML customizations:

http://docs.splunk.com/Documentation/Splunk/latest/Viz/Chartcustomization

Your specific needs may be met by simple changes, or you may need to use deeper properties:

http://docs.splunk.com/Documentation/Splunk/latest/Viz/CustomChartingConfig-ChartLegend

While it is also possible to use Advanced XML, custom modules, the SDKs, or the API, your probably don't need that.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You could change the column titles by renaming the fields, such as this:

... | rename response_time as "Response Time (sec)" throughput as "Throughput (reqs/sec)"
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...