Hi community
I know that it works perfectly on ON PREM env. but for Cloud has being a challenge to find a sustainable solution
We are looking for a way to project images on dashboards built in a Splunk Cloud env
Did anyone have this challenge? How it was?
Hi @zanoefel,
you can add an object to an app (also in cloud) in [Apps -- Manage Apps -- Choose App -- Edit properties -- Upload Asset].
It's located in appserver/static folder of your App and you can call it in your dashboard in an html panel at the address:
<img src="/static/app/your_app/your_image.png" style="height:50px;border:0;"/>
Ciao.
Giuseppe
@gcusello I do not see an option for upload asset in Splunk Cloud in 9.x version. How to upload image in cloud through UI?Or if not how to refer an external image using href. My image isnt loading though the href sharepoint URL works properly
It is just below 2 options
Sorry for digging up old post
Hi @Splunkerninja ,
in Splunk Cloud, you don't upload images but you use external on line images.
You have to follow the above procedure to avoid to approve each time the access to an external content.
Ciao.
Giuseppe
Hi @gcusello I have added below code but the image is not loading. I have given dummy link below, but my actual private link is working fine
<html>
<centre>
<img style="padding-top:60px" height="92" href="https://sharepoint.com/:i:/r/sites/Shared%20Documents/Pictures/Untitled%20picture.png?csf=1&web=..." width="272" alt="Terraform "></img>
</centre>
</html>
Hi @Splunkerninja ,
launching the url from your browser, does it reach the image or not?
Ciao.
Giuseppe
@gcusello Yes, It is reaching
Hi @Splunkerninja ,
check if the url is effectively referred to an image and if it has a compatible format for an image (png or jpg) or if you're using a too large size.
In this last case, please try a smaller size.
Ciao.
Giuseppe
@gcusello Yes the URL is referring to the image and it is of 76kb in png format.Still facing the issue
@gcusello Yes, I did reduce upto 20 kb but still the image is not loading.