I created a plugin for Kibana 7.6.2 that's used to brand the UI, ie add a new logo and run some javascript to do some other customizations. Unfortunately, I'm also offline doing this so I'm not developing the plugin leveraging the kibana repo. I previously used zip to create the build artifact to install on Kibana using /bin/kibana-plugin install
Now we are upgrading to 7.9 and the existing plugin doesn't work so I'm trying to figure out how it needs to be modified. I have read over the documentation for the new plugin framework. I am trying to figure out how I build a plugin outside of the kibana git repo. I don't have access to @kbn/plugin-helpers.
The basic question, will I be able to inject javascript on a page to add a security banner and will I be able to change the logos with css.
I can upload my zip if that would be helpful. I don't see in this form how to add the zip.
Now we are upgrading to 7.9 and the existing plugin doesn't work so I'm trying to figure out how it needs to be modified.
The legacy plugin support is going to be removed in v7.10.0. So you still should be able to inject javascript on a page to add a security banner and will I be able to change the logos with css.
I can't get the example plugins to work in my local instance running 'yarn start --run-examples'. Lastly, we saw performance issues in the browser, out of memory on chrome, so we are going to try 7.8
rhonda.gregory@wvhn-gregoryr examples] yarn start --run-examples
yarn run v1.22.5
node scripts/kibana --dev --run-examples
log [09:29:34.983] [warning][plugins-discovery] Explicit plugin paths [/home/rhonda.gregory/dev/kibana/x-pack] should only be used in development. Relative imports may not work properly in production.
log [09:29:35.010] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: triggers_actions_ui
[BABEL] Note: The code generator has deoptimised the styling of /home/rhonda.gregory/dev/kibana/x-pack/plugins/canvas/server/templates/pitch_presentation.ts as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /home/rhonda.gregory/dev/kibana/x-pack/plugins/security_solution/server/utils/beat_schema/8.0.0/filebeat.ts as it exceeds the max of 500KB.
log [09:30:10.958] [info][plugins-service] Plugin "visTypeXy" is disabled.
log [09:30:10.958] [info][plugins-service] Plugin "auditTrail" is disabled.
log [09:30:11.165] [info][plugins-service] Plugin initialization disabled.
log [09:30:11.171] [warning][savedobjects-service] Skipping Saved Object migrations on startup. Note: Individual documents will still be migrated when read or written.
failed to watch files! Error: ENOSPC: System limit for number of file watchers reached, watch '/home/rhonda.gregory/dev/kibana/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json'
at FSWatcher.start (internal/fs/watchers.js:165:26)
at Object.watch (fs.js:1258:11)
at createFsWatchInstance (/home/rhonda.gregory/dev/kibana/node_modules/chokidar/lib/nodefs-handler.js:109:15)
at setFsWatchListener (/home/rhonda.gregory/dev/kibana/node_modules/chokidar/lib/nodefs-handler.js:156:15)
at NodeFsHandler._watchWithNodeFs (/home/rhonda.gregory/dev/kibana/node_modules/chokidar/lib/nodefs-handler.js:318:14)
at NodeFsHandler._handleFile (/home/rhonda.gregory/dev/kibana/node_modules/chokidar/lib/nodefs-handler.js:348:23)
at NodeFsHandler._addToNodeFs (/home/rhonda.gregory/dev/kibana/node_modules/chokidar/lib/nodefs-handler.js:619:21)
<--- Last few GCs --->
[24020:0x336ea10] 48577 ms: Mark-sweep 807.1 (1146.0) -> 807.0 (1079.5) MB, 110.0 / 0.0 ms (average mu = 0.835, current mu = 0.000) last resort GC in old space requested
[24020:0x336ea10] 48681 ms: Mark-sweep 807.0 (1079.5) -> 807.0 (1054.5) MB, 103.5 / 0.0 ms (average mu = 0.711, current mu = 0.000) last resort GC in old space requested
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.