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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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