A Kibana plugin with utilities to assist with development against the Kibana/Elasticsearch stack
This plugin can be installed into an existing Kibana development setup by adding it to the <kibana_code>/plugins/
directory. Plugins in this directory are excluded from the Kibana codebase by default.
Here are instructions on how to install it:
- Ensure that your Kibana develpment environment has been
bootstrap
'd - Change directory into the
plugins
directory at the root of your kibana codebasecd plugins
- Clone this repo (or your own fork of this repo) into the
plugins
directoryThis will create a directory namedgit clone [email protected]:paul-tavares/dev_plugin.git
dev_plugin
under theplugins
and clone the source under that directory. - Bootstrap the newly installed plugin
cd dev_plugin yarn bootstrap
- If Kibana server is already running, stop and restart it so that it picks up the new plugin
- From the Kibana UI, you should now see a
Kibana Developer
menu options at the bottom of the Kibana global side menu.
To Develop against this plugin, follow the normal steps for forking a repo. You can then clone the repo to your local Kibana development environment following the instructions above for Installation and Usage.
Once the plugin has been installed/setup, run the watcher
so that changes done are built and seend in the UI on the next browser refresh:
cd plugins/dev_plugin
yarn dev:watch
yarn bootstrap
- Execute this to install node_modules and setup the dependencies in your plugin and in Kibana
yarn dev
- Build the plugin into the
target
directory, which will also enable Kibana to correctly pickup this plugin when it is started in dev mode. yarn dev:watch
- Build the plugin anytime the source changes. Use this when developing against this plugin