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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...