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!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...