Add a table
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Add a table
The table panel displays search results in a sortable table. You can display results in a table from just about any search, but the most interesting tables are generated from searches that include transform operations. For example, a search that uses reporting commands such as
rare. Any fields you want to display in your table should be explicitly added to your search.
For more information on table visualizations, refer to "Tables" in the Splunk Visualization Reference.
Configure the table panel
The following example displays information on processes with high CPU usage. It specifies a custom row count of 15, removes the display of row numbers, and includes a heat map overlay highlighting extreme values.
<dashboard> <label>My dashboard</label> <row> <table> <searchString> index="_internal" source="*metrics.log" group="pipeline" | chart sum(cpu_seconds) over processor | sort -sum(cpu_seconds) | rename sum(cpu_seconds) as "Total CPU Seconds" </searchString> <title>High CPU processors</title> <earliestTime>-60m</earliestTime> <latestTime>now</latestTime> <option name="count">15</option> <option name="dataOverlayMode">heatmap</option> <option name="displayRowNumbers">false</option> <option name="showPager">true</option> </table> </row> </dashboard>
For basic configuration of charts, refer to the "Table panel entry" in the Panel reference for Simplified XML.