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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...