Dashboards & Visualizations

Why are Javascript files not working with Splunk 8.2?

aamir_shariff
New Member

Hello All,

We upgraded our test environment with Splunk 8.2 post which our JavaScript dashboards stopped working. The dashboards have been updated to include version="1.1" as suggested by the docs. 

The JavaScript which isn't working is referencing jQuery as follows : 

 

require([
    "splunkjs/mvc",
    "splunkjs/mvc/utils",
    "splunkjs/mvc/tokenutils",
    "underscore",
    "jquery",......])

 

I am aware that 8.2 is dependent on jQuery 3.5 and I feel that this is causing the issue. But where in the code the updates need to be made is something I need assistance with. 

@jeffland Do assist if possible. Thanks. 

Labels (1)
0 Karma

jeffland
SplunkTrust
SplunkTrust

You should post more details about what "stopped working". Do you see any error messages on the console? Does your code error on loading, or on specific calls? Were you using any jquery methods that have been deprecated in 3.5?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...