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!

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 ...