All Apps and Add-ons

Splunk App for Windows Javascript Errors

iolaus
Engager

Splunk v6.0 on Ubuntu Server 12.10 / Splunk App for Windows v5.0.1

I'm receiving the following JS errors when loading the Event Monitoring, Performance Monitoring, or System Monitoring tabs within Splunk App for Windows (in both Chrome and IE):

**Error 1:** 

Uncaught TypeError: Cannot read property 'splice' of undefined common.min.js:25076 

**Stack Trace:** 

Uncaught TypeError: Cannot read property 'splice' of undefined common.min.js:25076 
define common.min.js:25076 
(anonymous function) store.min.js:26 
(anonymous function) store.min.js:26 

**The referenced line is shown below:** 

define=function(name,deps,callback){ 
if(!deps.splice){ // <---------------- LINE WITH ERROR 
callback=deps; 
deps=[];} 

**Error 2:** 

Uncaught ReferenceError: store is not defined modules-9b8194f5d23a2c9a5b97a93a26ff91b71cff7c78.min.js:1354 

**Stack Trace:** 

Uncaught ReferenceError: store is not defined modules-9b8194f5d23a2c9a5b97a93a26ff91b71cff7c78.min.js:1354 
WindowsMonitoring.pullSelection modules-9b8194f5d23a2c9a5b97a93a26ff91b71cff7c78.min.js:1354 
Splunk.Module.WindowsMonitoringDropdown.$.klass.initialize modules-9b8194f5d23a2c9a5b97a93a26ff91b71cff7c78.min.js:2886 
$.extend.wrap common.min.js:6135 
$.extend.klass.klass common.min.js:6140 
Splunk.ModuleLoader.$.klass.buildModuleInstanceList common.min.js:17907 
Splunk.ModuleLoader.$.klass.setLoadPhase common.min.js:17872 
Splunk.ModuleLoader.$.klass.initialize common.min.js:17865 
$.extend.klass.klass common.min.js:6140 
(anonymous function) init.js:39 
jQuery.Callbacks.fire common.min.js:429 
jQuery.Callbacks.self.fireWith common.min.js:490 
jQuery.extend.ready common.min.js:173 
DOMContentLoaded common.min.js:36 

**The referenced line is shown below:** 

pullSelection:function(selectionName){ 
if(store.enabled){ // <---------------- LINE WITH ERROR 
return store.get(selectionName);} 
else{ 
console.log("Local storage is disabled, cannot retrieve anything... sad face."); 
return null;}},

I think Error 2 may be a result of Error 1, both seem to be related to the store.js script.

Broken Event Monitoring rendering:

alt text

Working Overview Tab:

alt text

1 Solution

sdaniels
Splunk Employee
Splunk Employee

The Splunk App for Windows is not compatible with Splunk 6 so you will get errors. It is currently being worked on and there will be a Spunk 6 compatible version released on apps.splunk.com in the next couple of weeks.

You'll see on the App page that the Splunk versions for compatibility are listed.

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

The Splunk App for Windows is not compatible with Splunk 6 so you will get errors. It is currently being worked on and there will be a Spunk 6 compatible version released on apps.splunk.com in the next couple of weeks.

You'll see on the App page that the Splunk versions for compatibility are listed.

iolaus
Engager

Thanks sdaniels, I'll keep an eye out for the updated app.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...