Dashboards & Visualizations

advanced xml syntax for a table of data, not a chart?

dang
Path Finder

I've been playing around with advanced xml to create a view with a time picker. I have figured out what I need to do to add charts of data, but how do I add a table of information from a search that uses a chart?

Tags (1)

David
Splunk Employee
Splunk Employee

The easiest way to figure this out is to steal it from something already existing. For example, you can look at http://YourInstance:8000/en-US/app/search/search_status?showsource=1

If you scroll down to Common Searches, you'll see the following syntax:

<module name="SimpleResultsTable">
  <param name="drilldown">row</param>
  <param name="allowTransformedFieldSelect">True</param>
  <module name="ConvertToDrilldownSearch">
    <module name="ViewRedirector">
      <param name="viewTarget">flashtimeline</param>
    </module>
  </module>
</module>

Which should get you what you're looking for.

David
Splunk Employee
Splunk Employee

Excellent. Check out this Answers as well, for tips on clearing out the showsource=1 unnecessary things. (Like allowTransformedFieldSelect)

http://splunk-base.splunk.com/answers/11844/schedule-pdf-disabled-for-timerangepicker

0 Karma

dang
Path Finder

The ?showsource=1 tip was very useful, and I've now got it working. Thanks.

0 Karma

dang
Path Finder

So, If I'm currently using to generated the data that would normally be displayed in a chart, would that also be used with this drilldown parameter?

0 Karma

sideview
SplunkTrust
SplunkTrust

It's extremely unlikely that you want that 'allowTransformedFieldSelect' param in there - that's detritus carried over from some long-ago simplified-xml conversion.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...