All Apps and Add-ons

Knowledge Object Explorer won't load

richgalloway
SplunkTrust
SplunkTrust

Are there any dependencies for this app? I installed it on our Splunk Enterprise 6.1 dev box and restarted Splunk. When I launch the app, it says "Loading..." and seems to hang. I'm wondering if there's something else I need to install to get this working or does the first launch just take a really long time.

---
If this reply helps you, Karma would be appreciated.
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

It seems some stuff I added after 6.1-testing actually aren't supported by 6.1 😞 oops.
The things you posted in your log would be easy to fix, but once fixed you'd stumble over the big one - exposing the calculated fields endpoint manually apparently is only supported from 6.2.0 on.

So yeah... upgrade to 6.2, or 6.3 while you're at it 😄

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

It seems some stuff I added after 6.1-testing actually aren't supported by 6.1 😞 oops.
The things you posted in your log would be easy to fix, but once fixed you'd stumble over the big one - exposing the calculated fields endpoint manually apparently is only supported from 6.2.0 on.

So yeah... upgrade to 6.2, or 6.3 while you're at it 😄

richgalloway
SplunkTrust
SplunkTrust

Upgrading to 6.3 fixed the problem.

---
If this reply helps you, Karma would be appreciated.

martin_mueller
SplunkTrust
SplunkTrust

It should work without any dependencies, though dev and most testing was on 6.2.

Your symptoms sound like some JS failing, open your browser's JS console and reload.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I posted my log here yesterday afternoon and now it's gone.

---
If this reply helps you, Karma would be appreciated.
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Odd, nothing in the mod queue either. Pastebin it? Describe errors, if any? Gotta kill airport time somehow...

0 Karma

richgalloway
SplunkTrust
SplunkTrust

http://pastebin.com/C3vwMUFN

---
If this reply helps you, Karma would be appreciated.
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

I can't find any js errors in the sea of css issues... What browser are you using? Those css issues suggest it may be old or weird.

I did see two 404s for core simplexml js files, that can't be good.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I usually use Firefox, but Chrome also fails to load. Here is what is in the Chrome log:

GET http://172.20.12.50:8000/en-US/static/@220630.9/js/build/simplexml.min/mvc/panelref.js req.load @ config.js:6r.load @ config.js:6n.load @ config.js:6n.fetch @ config.js:6n.check @ config.js:6n.enable @ config.js:6r.enable @ config.js:6(anonymous function) @ config.js:6(anonymous function) @ config.js:6each @ config.js:6n.enable @ config.js:6n.init @ config.js:6(anonymous function) @ config.js:6
config.js:6
Uncaught Error: Script error for: splunkjs/mvc/simplexml/dashboard/panelref
http://requirejs.org/docs/errors.html#scripterrormakeError @ config.js:6r.onScriptError @ config.js:6
config.js:6
GET http://172.20.12.50:8000/en-US/static/@220630.9/js/build/simplexml.min/mvc/eventhandler.js req.load @ config.js:6r.load @ config.js:6n.load @ config.js:6n.fetch @ config.js:6n.check @ config.js:6n.enable @ config.js:6r.enable @ config.js:6(anonymous function) @ config.js:6(anonymous function) @ config.js:6each @ config.js:6n.enable @ config.js:6n.init @ config.js:6(anonymous function) @ config.js:6
config.js:6
Uncaught Error: Script error for: splunkjs/mvc/simplexml/eventhandler
http://requirejs.org/docs/errors.html#scripterror

And here are the Firefox JS errors:
Error: Script error for: splunkjs/mvc/simplexml/eventhandler
http://requirejs.org/docs/errors.html#scripterror config.js:6:966
Error: Script error for: splunkjs/mvc/simplexml/dashboard/panelref
http://requirejs.org/docs/errors.html#scripterror config.js:6:966
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. mvc.js:6:0

---
If this reply helps you, Karma would be appreciated.
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Odd... I'll do some more 6.1 testing once I get home.. Will need to test on 6.3 anyway 😄

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Did the 6.3 test now, all good.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...