Building for the Splunk Platform

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
Super Champion

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
Super Champion

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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...