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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...