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
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...