Splunk Cloud Platform

Dashboards and Visualizations with Simple XML

This documentation does not apply to the most recent version of Splunk Cloud Platform. For documentation on the most recent version, go to the latest release.

Manage dashboards that need jQuery updates

All Simple XML dashboards require a version attribute to certify that they are compatible with jQuery 3.5 or higher. Do not update dashboards that are packaged with Splunk Cloud Platform, Splunk Enterprise, or a Splunk app. However, you must update user-created dashboards with a version attribute. Dashboards associated with third party and private apps must be updated by the app developers.

For a list of dashboards that might be affected by the security update that requires jQuery 3.5 or higher, Splunk admins can see the jQuery Upgrade dashboard. Dashboards that are on those lists might need to be adjusted or rebuilt.

Certify that Simple XML dashboards work with jQuery 3.5 and higher with a version attribute

Some dashboards that use custom JavaScript might not be fully compatible with jQuery 3.5 or higher. After you update your dashboards to be fully compatible with jQuery 3.5 or higher, and you verify that they are working in the new dashboard view, you must then certify that they are updated by adding a version attribute. After you certify the dashboards, they disappear from the jQuery Upgrade dashboard.

Complete the following steps to update, verify, and then certify your dashboards.

  1. If necessary, update the dashboard to rely only on jQuery 3.5 and higher.
  2. Check the dashboard to verify that it's working in your Splunk instance.
  3. Add the version="1.1" attribute to the root node in the Simple XML file for the dashboard. The root node is either <dashboard> or <form>.
    <dashboard version="1.1" script="myCustomJS.js">
    ...
    </dashboard>
    
    <form version="1.1" script="myCustomJS.js">
    ...
    </form>

    Don't add version="1.0" to the dashboard root node.

  4. Check the dashboard again to verify that it is working. Dashboards that are certified to work with the newest dashboard view don't appear in the list of v1.0 dashboards viewed in the jQuery Upgrade dashboard.

For more information about the version attribute, see the Simple XML Reference. For more information about editing Simple XML, see Editing Simple XML.

Update HTML dashboards

HTML dashboards are deprecated. However, you can rebuild your HTML dashboards in Dashboard Studio. For more information about Dashboard Studio, see What is the Splunk Dashboard Studio? in the Splunk Dashboard Studio manual.

Last modified on 01 March, 2022
Configure dashboard permissions   Generate dashboard PDFs

This documentation applies to the following versions of Splunk Cloud Platform: 8.2.2201


Was this topic useful?







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