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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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