Dashboards & Visualizations

Dashboard elements in public websites

Woody
New Member

Hi folks,

I've been reading the guidance at http://docs.splunk.com/Documentation/Splunk/latest/Developer/3rdParty which suggests using an iframe to include Splunk Dashboard elements in third party sites. Is this really the only way?

I'd have expected it to be possible through the API or even a scheduled export of HTML/images. I'm just not comfortable embedding Splunk content directly on a public site this way. I know I could run searches via the API and re-create charts etc. but ideally I want to take an existing Dashboard and use elements of it securely without too much messing about.

I've learned so far that if I can't find the answer to a problem with Splunk I'm asking the wrong question or thinking about it the wrong way round so I'm hoping someone can point me in the right direction here!

Thanks
Simon

Tags (2)
0 Karma

dglinder
Path Finder

I haven't tested this, but you might want to setup the notes as described in the 3rdParty documents, but use some tool generate a GIF/JPG/PDF from the URL then display that to the end user. Assuming you've got a Linux system, you can use wkhtmltopdf to convert to a PDF, then use ImageMagick "convert" tool to convert each page of the PDF to a JPG. (Though "pdfimages" (from Poppler) might extract the charts/images from the PDF more directly.)

adrianathome
Communicator

Similar idea, different tools. Run an AutoIT or Sikuli script that takes a screenshot of the dashboard and saves it somewhere accessible to the web server. Also, dont forget that some apps have a "free for internal use only" license.

0 Karma

cpbridges
New Member

I am also looking for a solution with this. Kind regards, Chris

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...