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!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...