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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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