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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...