Dashboards & Visualizations

Splunk 9.1.0.1 Custom JavaScipt Error

be
Explorer

Hi, I have several dashboards that are utilizing the custom JS to create tabs from this 2015 Splunk blog: Making a dashboard with tabs (and searches that run when clicked) | Splunk

The custom JS from the blog and the tabs worked perfectly on Splunk versions 8.1.3; however, after upgrading to version 9.1.0.1. The custom JavaScript that powers the tabs no longer works. When loaded, the dashboards show an error that says: "A custom JavaScript error caused an issue loading your dashboard." 

Does anyone know how to update the JavaScript from this blog post to be compatible with Splunk version 9.1.0.1 and JQuery 3.5? I have not been able to find any other Splunk questions referencing this same issue. I can provide the full JavaScript from the blog post in this message if necessary. It is also on the blog post. 

Labels (2)
0 Karma
1 Solution

be
Explorer

For anyone else who comes across this issue, an updated version of the tabs.js and tabs.css can be found directly at the blog author's github repo: splunk-dashboard-tabs-example/src/appserver/static/tabs.js at master · LukeMurphey/splunk-dashboard-...

The most recent version has been updated to work with jquery 3.5.

View solution in original post

0 Karma

be
Explorer

For anyone else who comes across this issue, an updated version of the tabs.js and tabs.css can be found directly at the blog author's github repo: splunk-dashboard-tabs-example/src/appserver/static/tabs.js at master · LukeMurphey/splunk-dashboard-...

The most recent version has been updated to work with jquery 3.5.

0 Karma

be
Explorer

@kamlesh_vaghela is this something you could take a look at? I saw you answering similar questions. 

0 Karma
Get Updates on the Splunk Community!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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