Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

sirensolutions/kibi_timeline_vis

Repository files navigation

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

Kibi 5.x

$ ./bin/kibi-plugin install https://github.com/sirensolutions/kibi_timeline_vis/releases/download/5.5.2/kibi_timeline_vis-5.5.2.zip

Kibi 4.x

$ ./bin/kibi plugin -i kibi_timeline_vis -u https://github.com/sirensolutions/kibi_timeline_vis/releases/download/4.6.4/kibi_timeline_vis-4.6.4.zip

Manual

$ git clone https://github.com/sirensolutions/kibi_timeline_vis.git
$ cd kibi_timeline_vis
$ npm install
$ npm run package
$ unzip target/kibi_timeline_vis-5.4.0-2.zip -d KIBANA_FOLDER_PATH/plugins/

Uninstall

Kibi/Kibana 5.x

$ bin/kibi-plugin remove kibi_timeline_vis

Kibi/Kibana 4.x

$ bin/kibi 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 6.9.0)
  • 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 address 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