Dashboards & Visualizations

Dashboard Studio: Managing Icons and Images

kevsterd
Explorer

So its great we can now import icons and images to Dashboard Studio pages.  

It looks like they get stored in a KV store somewhere, however how can we manage these?

For instance if I want a copy of the dashboard on another Splunk instance,  how can I make sure that the icons and images are on the second instance.

I don't see any way to manage these without having to manually update the dashboard on the second instance....

Help appreciated.

Labels (1)

fralcalde
Explorer

Did you ever solve this?

I can deploy dashboards with images in the appserver/static folder and they work fine.
But it's a different story for icons.

kevsterd
Explorer

I used (as you already indicated) appserver/static to hold these elements.

What's the difference with icons.  Format ?

Its a shame they have not enhanced this.....

0 Karma

fralcalde
Explorer

Seems that the icon functionality doesn't care for files in $APP/appserver/static path, only pulls up file data from the kvstore, forcing you to somehow transfer this kvstore collection to your SHCluster every time you deploy something.

Not cool. Easier to just convert all icons to images by hand, once.

We used icons because we thought images don't have the "hideWhenNoData" option.
Turns out they do have it, but docs are not too clear.

https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/DashStudio/chartsImage
https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/DashStudio/showHide

0 Karma

kevsterd
Explorer

That makes sense now.  I recall looking at that....  Its pretty crappy how you have to manage the static content.

Good tip about being able to hidenodata.  I didn't know you can do that.....  might have to update some code.

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...