Splunk Cloud Platform

Splunk Dashboard Studio

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

Add an image

If you have the correct permissions, you can add custom images to your dashboards, or use an image as a dashboard background. You can upload an image or reference an image by URL.

Upload an image

When you upload an image, it is stored in the KV store. Because of this, only Enterprise admins, Cloud sc_admins, and power users can upload or delete images. If you don't have the correct role assigned to upload images, you can ask someone with the correct role to add it for you. The following formats are supported for uploading an image:

  • png
  • jpeg
  • gif
  • webp

Reference an image by URL

Users with any permission set or role can add an image to their dashboard by referencing a URL. You can reference a local image or link to an image URL using the absolute layout. You cannot add an image if you are using the grid layout.

The following is an example of an image URL.

/en-US/static/app/splunk-dashboard-studio/images/examples-hub/datacenter/Background_v2.png


Images you reference using a URL cannot be downloaded. To ensure these images render in a PDF or PNG export, save them to a local directory and upload them to your dashboard, if you have the correct permissions.

Add an external URL to the dashboards image allow list

The dashboards image allow list is a list of authorized URL domains that aids the management of external images. Images without a domain specified in the list will not render in the dashboard. To permit an external image, you can add the image's URL domain to the list. For more details, see Configure dashboards image allow list and Content Security Policy setting in the Splunk Cloud Platform Admin Manual.

Add an image to your dashboard

  1. Click the Add Image button ( The Add Image button in the editing toolbar. ) in the editing toolbar.
  2. Add an image using one of the following methods:
    • Enter a URL for your image in the Enter URL field.
    • Drag and drop a local image.
    • Click browse... and navigate to your image.

Images might take a while to render. The current size limit to upload an image to the KV store is 16MB.

Configuration Panel options for images

Position & Size
You can use your mouse to change the size or location of the visualization, or the Position & Size section of the Configuration panel for pixel perfect sizing and placement.

Drilldown
Specify a URL to go to when a user clicks the image.

Source options for images


The following options are available for editing an image in the source editor:

Property Type Default Description
src string N/A URL of an image file. The editor accepts all browser-supported image formats.
preserveAspectRatio boolean false Set to true to maintain the aspect ratio of an image when the screen is resized.
Last modified on 19 July, 2022
PREVIOUS
Table
  NEXT
Use Markdown to add text, links, and images

This documentation applies to the following versions of Splunk Cloud Platform: 8.2.2202, 8.2.2203


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters