Coder Social home page Coder Social logo

buildall / kibi_radar_vis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sirensolutions/kibi_radar_vis

0.0 3.0 0.0 467 KB

A Radar (or Spider) Chart plugin for Kibi 0.3.x+ or Kibana 4.3.x+ free as in beer and speech, enjoy! Sign up to our mailing list on http://siren.solutions for the most exciting updates about Kibana modding :)

License: Other

JavaScript 91.36% HTML 8.32% CSS 0.32%

kibi_radar_vis's Introduction

Kibi/Kibana Radar Chart Plugin

This is a plugin for Kibana and Kibi (our extention of Kibana for Relational Data)

A radar chart is a graphical method of displaying multivariate data in the form of a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. The relative position and angle of the axes is typically uninformative.

image image

Compatibility

This plugin can be installed in both:

The following table shows the compatibility between releases of Kibi/Kibana and Radar Chart Plugin plugin

Kibi/Kibana Radar Chart Plugin
5.3.0 master
5.2.2 branch-5.2.2
5.2.1 branch-5.2.1
5.2.0 branch-5.2.0
5.1.2 branch-5.1.2
5.1.1 branch-5.1.1
5.0.2 branch-5.0.2
5.0.1 branch-5.0.1
5.0.0 branch-5.0.0
4.6.4 branch-4.6.4
4.6.3 4.5.3
4.5.x 4.5.3
4.4.x 4.4.2
4.3.x 0.1.0

Installation

Automatic

For kibi/kibana 4.x

$ # for kibi
$ ./bin/kibi plugin -i kibi_radar_vis -u  https://github.com/sirensolutions/kibi_radar_vis/archive/4.5.3.zip
$ # for kibana
$ ./bin/kibana plugin -i kibi_radar_vis -u  https://github.com/sirensolutions/kibi_radar_vis/archive/4.5.3.zip

For kibi/kibana 5.x.x (replace the 5.x.x with correct version number)

$ # for kibi
$ ./bin/kibi-plugin install https://github.com/sirensolutions/kibi_radar_vis/releases/download/5.x.x/kibi_radar_vis-5.x.x.zip
$ # for kibana
$ ./bin/kibana-plugin install https://github.com/sirensolutions/kibi_radar_vis/releases/download/5.x.x/kibi_radar_vis-5.x.x.zip

Manual

For kibi/kibana 4.x

$ git clone https://github.com/sirensolutions/kibi_radar_vis.git
$ cd kibi_radar_vis
$ npm install
$ npm run build
$ cp -R build/kibi_radar_vis KIBANA_FOLDER_PATH/installedPlugins/

For kibi/kibana 5.x

$ git clone https://github.com/sirensolutions/kibi_radar_vis.git
$ cd kibi_radar_vis
$ git checkout branch-5.x.x
$ npm install
$ npm run build
$ cp -R build/kibi_radar_vis KIBANA_FOLDER_PATH/plugins/

Uninstall

For kibi/kibana 4.x

$ # for kibi
$ bin/kibi plugin  --remove kibi_radar_vis
$ # for kibana
$ bin/kibana plugin  --remove kibi_radar_vis

For kibi/kibana 5.x

$ # for kibi
$ bin/kibi-plugin remove kibi_radar_vis
$ # for kibana
$ bin/kibana-plugin remove kibi_radar_vis

Development

  • Clone the repository at the same level as you've cloned Kibana (>=4.6.4)
  • Switch to the same node version as Kibana using nvm (currently nvm use 6.9.0)
  • Install dependencies with npm install
  • Install the plugin to Kibana and start watching for changes by running npm start

Demo

heroes

Create a sample index with the commands below and then create a new radar visualization.

$ curl -XPUT 'http://localhost:9200/hero' -d '
{
  "mappings": {
    "Hero": {
      "properties": {
        "name": {
          "type": "string",
          "index": "not_analyzed"
        }
      }
    }
  }
}
'

$ curl 'http://localhost:9200/hero/Hero' -d '
{
  "name": "Thor",
  "intelligence": 2,
  "strength": 7,
  "speed": 7,
  "durability": 6,
  "energy": 6,
  "fighting": 4,
  "description": "god-like durability"
}
'

$ curl 'http://localhost:9200/hero/Hero' -d '
{
  "name": "Iron Man",
  "intelligence": 6,
  "strength": 6,
  "speed": 5,
  "durability": 6,
  "energy": 6,
  "fighting": 4,
  "description": "smart entreprenuer"
}
'

$ curl 'http://localhost:9200/hero/Hero' -d '
{
  "name": "Captain America",
  "intelligence": 3,
  "strength": 3,
  "speed": 2,
  "durability": 3,
  "energy": 1,
  "fighting": 6,
  "description": "only human"
}
'

$ curl 'http://localhost:9200/hero/Hero' -d '
{
  "name": "Hulk",
  "intelligence": 6,
  "strength": 7,
  "speed": 3,
  "durability": 7,
  "energy": 1,
  "fighting": 4,
  "description": "brilliant scientist"
}
'

The metrics define the dimensions of the chart, and should be at least three. Each colored area is defined in the bucket section, e.g., a hero's name.

heroes params

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.