Splunk Dev

How would you package your Splunk App that uses dashboard studio without losing any pictures or icons?

Marco_Develops
Path Finder

Hello Splunkers,

I have a question with building Splunk Apps with Dashboard Studio. My question has to do with portability of the Splunk app.

Given that the traditional way of building Splunk apps via Simple XML allows you to save images in the Static folder inside your Splunk app.  So whenever you download the App on Splunkbase you have everything you need.

Unlike Dashboard Studio that saves your images & Icons in the KV store. 

With this in mind, how would you package your Splunk App that uses dashboard studio without losing any pictures or icons? 


Thank you,

Marco

Labels (3)
Tags (3)
0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

Yes, that is currently the issue with the dashboard studio that kvstore images won't bundle with App.

But you can use the old solution, add images under appserver/static and use the relative reference, it still works with Dashboard Studio. (You can do that at the end as well by just updating the JSON file of your dashboard, "src" attribute I think)

 

View solution in original post

VatsalJagani
SplunkTrust
SplunkTrust

Yes, that is currently the issue with the dashboard studio that kvstore images won't bundle with App.

But you can use the old solution, add images under appserver/static and use the relative reference, it still works with Dashboard Studio. (You can do that at the end as well by just updating the JSON file of your dashboard, "src" attribute I think)

 

Marco_Develops
Path Finder

Yes, that is my dilemma. I'll just package the app with pictures pointing to the appserver/static/images and test if the images stick.

 

I appreciate the feedback.

-Marco

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Hi @Marco_Develops - if the prior answer was good, then go ahead and hit the "Accept as Solution" button so other folks know this thread has a solution with it. Thanks!

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...