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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...