项目作者: ewvann

项目描述 :
A pivot table plugin for Kibana 5
高级语言: JavaScript
项目地址: git://github.com/ewvann/kibana-pivot-table.git
创建时间: 2017-06-14T09:48:44Z
项目社区:https://github.com/ewvann/kibana-pivot-table

开源协议:MIT License

下载


Pivot Table Plugin for Kibana 5

A visualization plugin for kibana 5.x .

Pivot tables are interactive tables that allow the user to group and summarize large amounts of data in a concise.

Basically a wrapper of Nicolas Kruchten’s Pivot Table.

image

Feature

  • drag and drop UI
  • filtering
  • charts

Installation

  1. cd YOUR DOWNLOAD-DIRECTORY
  2. wget https://github.com/datavoyagerhk/kibana-pivot-table/releases/download/v0.1.0/pivot_table-v0.1.0.zip
  3. $KIBANA_HOME/bin/kibana-plugin install file:///YOUR-DOWNLOAD-DIRECTORY/pivot_table-v0.1.0.zip

example for Kibana installed with RPM on CentOS

  1. wget https://github.com/datavoyagerhk/kibana-pivot-table/releases/download/v0.1.0/pivot_table-v0.1.0.zip
  2. /usr/share/bin/kibana-plugin install file:///tmp/pivot_table-v0.1.0.zip

development

Setting up development environment

  1. See the kibana contributing guide for instructions setting up your development environment. Once you have completed that, use the following npm tasks.

    • npm start

      Start kibana and have it include this plugin

    • npm start -- --config kibana.yml

      You can pass any argument that you would normally send to bin/kibana by putting them after -- when running npm start

    • npm run build

      Build a distributable archive

    • npm run test:browser

      Run the browser tests in a real web browser

    • npm run test:server

      Run the server tests using mocha

For more information about any of these commands run npm run ${task} -- --help.

  1. Clone this repository to the plugins folder of kibana.

  2. Modify the contents of the config.json file to point to a local Kibana installation directory.

Coding guidelines

Please also see wiki of Nicolas Kruchten’s Pivot Table.

Building a package

  1. First go to the directory of the plugin

    1. cd $KIBANA_HOME/plugins/pivot_table
  2. Modify the contents of package.json

    change the ‘kibana’ and ‘@elastic/plugin-helpers’ version to the version of kibana you want to deploy.

  3. Then create bundled zip file

    1. npm run build

The bundled zip file will locate in:
cd $KIBANA_HOME/kibana/plugins/pivot_table/build