No description, website, or topics provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
examples
gradle
img
public
target
.editorconfig
.eslintrc
.gitignore
.node-version
LICENSE.md
README.md
build.gradle
gradle.properties
gradlew
gulpfile.js
index.js
package.json

README.md

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