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
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...