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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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