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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Build resilience for the agentic era: Join us at Splunk Go San Jose

AI is changing how organizations build, operate, and secure digital services. As teams adopt AI agents and ...

Manage Edge Processor pipelines end to end with APIs

This guide uses the Data Management APIs to create an Edge Processor, onboard one instance, deploy a pipeline ...