Dashboards & Visualizations

image in dashboard

surekhasplunk
Communicator

under search app i have to add an image named level3_description.png into one of my dashboards which i have created under search app.
what should i write in .js script and what should i write in .css script ?
i know i have to place it under C:\Splunk\etc\apps\search\appserver\static
Please help its urgent

Tags (3)
0 Karma

tormodbp
Path Finder

If you just want to add the image, not do anything fancy with it, you can use inline HTML in Simple XML. That way you do not need any JavaScript or StyleSheet files.

<dashboard>
  <label>Picture in dashboard</label>
  <row>
    <html>
      <img src="level3_description.png" />
    </html>
  </row>
</dashboard>

This would add your picture as a panel.

For more information check out the Build Dashboards with Simple XML section in the manual.

Cheers,

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...