All Apps and Add-ons

Include search results in HTML panel in dashboard

joshhenderson
Explorer

In dashboards I found out that it's possible to include basic HTML for a particular panel (http://docs.splunk.com/Documentation/Splunk/4.3.3/Developer/AddHTML), which can be really handy to create a display in a particular way.

What I am looking to find out though, is it possible to include searches and display the results in HTML? I'm looking mainly at single value searches, so the HTML wouldn't have to deal with tables.

ndoshi
Splunk Employee
Splunk Employee

One approach would be to use the Splunk JavaScript SDK to do your search and format your results in your own HTML page.

0 Karma

hexx
Splunk Employee
Splunk Employee

I would recommend to look at the "HTML" module in the Sideview utils app. The app ships with examples (check out its views) that show how to integrate search results into HTML.

Get Updates on the Splunk Community!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...