Dashboards & Visualizations

Image src location using splunk6 django dashboard

crt89
Communicator

Hi everyone,

I am currently developing a dashboard using the new Splunk's Web Framework. Can I ask how to put images from the dashboard?

I have this code to get my image:
< img src="image-name.png" />

The image directory is in:
etc/apps/my-app/appserver/static/images/image-name.png

I'm using windows btw.

Thanks,

Tags (2)

Conradj
Path Finder

Hi,

Can you give an example of this? I have the same issue and its doing my head in. O.o

🙂

0 Karma

crt89
Communicator

Sorry found out now, I'm using this command {{STATIC_URL}}{{app_name}}/

Still open if there is a more simple answer I guess.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...