Visualization tools are gone after kibana plugin


#1

Hi,

I am trying to develop a new kibana visualization according to this article : Drill down on charts.

The problem is that whenever I upload the plugin and restart kibana, the core plugins are gone.
See pic

I should also mention that I run the elk stack on a Ubuntu virtual machine with 8GB ram.

Can you help me solve this issue?

Thank you,
Elisavet


(Jen Huang) #2

Hi, could you please share any browser console errors and Kibana logs? It seems like there may be an issue with your plugin code that is affecting compilation.


#3

Hi,

Below are the browser console errors that I've got. Unfotunately I could not find the kibana logs.

Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode” browser.xul
Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox” browser.xul
[Exception... "Favicon at "http://localhost:5601/favicon.ico" failed to load: Not Found."  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 186"  data: no]

    onStopRequest resource:///modules/FaviconLoader.jsm:186 next self-hosted:1212 

window.controllers/Controllers is deprecated. Do not use it for UA detection. kibana.bundle.js:32:2942
Error while calling actor 'parentProcessTarget's method 'ensureCSSErrorReportingEnabled' Argument 1 of InspectorUtils.getAllStyleSheets is not an object. protocol.js:1040:5

    writeError resource://devtools/shared/protocol.js:1040 handler resource://devtools/shared/protocol.js:1234 

ensureCSSErrorReportingEnabled@resource://devtools/server/actors/targets/browsing-context.js:1003:9
handler@resource://devtools/shared/protocol.js:1197:21
onPacket@resource://devtools/server/main.js:1324:15
send/<@resource://devtools/shared/transport/local-transport.js:64:11
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14
protocol.js:1043:7

    writeError resource://devtools/shared/protocol.js:1043 handler resource://devtools/shared/protocol.js:1234 

Stylesheets without CSSOM changes reparsed to check for errors. Refresh the page to also see errors from stylesheets changed from CSSOM and from style attributes.
uncaught exception: Protocol error (unknownError): Argument 1 of InspectorUtils.getAllStyleSheets is not an object.
XHRPOSThttps://incoming.telemetry.mozilla.org/submit/telemetry/16a5051f-0201-4aa7-b6c3-5a7f8572e972/main/Firefox/65.0/release/20190128165852?v=4
[HTTP/1.1 200 OK 3152ms]
XHRPOSThttps://incoming.telemetry.mozilla.org/submit/telemetry/81856c67-68c4-42f3-abbd-de9ff6caad7b/event/Firefox/65.0/release/20190128165852?v=4
[HTTP/1.1 200 OK 2693ms]
POSThttp://ocsp.digicert.com/
[HTTP/1.1 200 OK 223ms]
POSThttp://ocsp.digicert.com/
[HTTP/1.1 200 OK 165ms]
XHRGEThttp://detectportal.firefox.com/success.txt
[HTTP/1.1 200 OK 72ms]
<unavailable> <div class="application" ng-class="'tab-' + chrome.getFirstPathSegment() + ' ' + chrome.getApplicationClasses()" ng-view="" ng-controller="chrome.$$rootControllerConstruct as kibana"> commons.bundle.js:38:29616

    consoleLog http://localhost:5601/bundles/commons.bundle.js?v=16108:38 get http://localhost:5601/bundles/commons.bundle.js?v=16108:38 invokeLinkFn http://localhost:5601/bundles/commons.bundle.js?v=16108:37 nodeLinkFn http://localhost:5601/bundles/commons.bundle.js?v=16108:37 compositeLinkFn http://localhost:5601/bundles/commons.bundle.js?v=16108:36 compile http://localhost:5601/bundles/commons.bundle.js?v=16108:36 compilationGenerator http://localhost:5601/bundles/commons.bundle.js?v=16108:36 boundTranscludeFn http://localhost:5601/bundles/commons.bundle.js?v=16108:36 controllersBoundTransclude http://localhost:5601/bundles/commons.bundle.js?v=16108:37 update http://localhost:5601/bundles/commons.bundle.js?v=16108:75 broadcast http://localhost:5601/bundles/commons.bundle.js?v=16108:39 commitRoute http://localhost:5601/bundles/commons.bundle.js?v=16108:75 processQueue http://localhost:5601/bundles/commons.bundle.js?v=16108:39 scheduleProcessQueue http://localhost:5601/bundles/commons.bundle.js?v=16108:39 digest http://localhost:5601/bundles/commons.bundle.js?v=16108:39 apply http://localhost:5601/bundles/commons.bundle.js?v=16108:39 get http://localhost:5601/bundles/commons.bundle.js?v=16108:38 dispatch http://localhost:5601/bundles/commons.bundle.js?v=16108:28 handle http://localhost:5601/bundles/commons.bundle.js?v=16108:28 

GEThttp://localhost:5601/bundles/commons.bundle.js?v=16108
[HTTP/1.1 200 OK 330ms]