/kibi_timeline_vis

Primary LanguageJavaScriptOtherNOASSERTION

Kibi/Kibana Timeline Plugin

This is a plugin for Kibana 4.3+ and Kibi 0.3 (our extention of Kibana for Relational Data).

The plugin displays a timeline of events taken from multiple saved searches.

image

##Installation

This plugin can be installed in both:

Automatic

$ ./bin/kibi plugin -i kibi_timeline_vis -u https://github.com/sirensolutions/kibi_timeline_vis/raw/4.6.3-1/target/kibi_timeline_vis-4.6.3-1.zip

Manual

$ git clone https://github.com/sirensolutions/kibi_timeline_vis.git
$ cd kibi_timeline_vis
$ npm install
$ npm run build
$ gulp package
$ unzip target/kibi_timeline_vis-4.6.3-1.zip -d KIBANA_FOLDER_PATH/installedPlugins/

Uninstall

$ bin/kibana plugin  --remove kibi_timeline_vis

Development

  • Clone the repository at the same level of a Kibana > 4.2 clone
  • If needed, switch to the same node version as Kibana using nvm (e.g. nvm use 0.12)
  • Install dependencies with npm install
  • Install the plugin to Kibana and start watching for changes by running npm start
  • run tests with npm test

If you are running kibana from folder with a name other than kibana, e.g. kibi-internal

$ gulp dev  --kibanahomepath=../kibi-internal
$ gulp test --kibanahomepath=../kibi-internal
$ gulp testdev --kibanahomepath=../kibi-internal

The best setup for development is to run 2 parallel terminals with:

$ gulp dev  --kibanahomepath=../kibi-internal
$ gulp testdev --kibanahomepath=../kibi-internal

In this way files are synced on every change and you can reload the browser to re-run tests In the browser adress bar put ?grep=Kibi Timeline to execute test relevant for this visualisation

Breaking changes with respect to the version embedded in Kibi 0.1x and 0.2.x

Dependencies ported from kibi so it can be installed in kibana

ui/kibi/components/courier/_request_queue_wrapped
ui/kibi/directives/array_param
ui/kibi/directives/kibi_select
ui/kibi/helpers/array_helper