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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...