Go to file
2013-11-20 13:59:43 +01:00
dashboards Rewrote the derivative calculations for the stats table. Ported the index dashboard to a scripted one. 2013-11-15 14:09:20 +01:00
exporter Downgrade back to 0.90.6 2013-11-19 23:58:12 +01:00
panels/stats_table Rewrote the derivative calculations for the stats table. Ported the index dashboard to a scripted one. 2013-11-15 14:09:20 +01:00
tasks Renamed merge folder to tmp. Removed symlinking the nodes_module folder of kibana build. Build now leaves a _site folder with marvel+kibana in it. Server command always creates a new config.js from template 2013-11-20 13:59:43 +01:00
.gitignore rename shipper to exporter 2013-11-19 09:51:14 +01:00
.jshintrc Moved plugin to a subfolder 2013-11-18 22:14:38 +01:00
config.js Moved plugin to a subfolder 2013-11-18 22:14:38 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2013-08-21 11:48:30 +02:00
Gruntfile.js Renamed merge folder to tmp. Removed symlinking the nodes_module folder of kibana build. Build now leaves a _site folder with marvel+kibana in it. Server command always creates a new config.js from template 2013-11-20 13:59:43 +01:00
LICENSE.txt Initial working ExporingService, plugin + an ESExport implementation 2013-05-22 11:12:09 +02:00
NOTICE.txt Initial working ExporingService, plugin + an ESExport implementation 2013-05-22 11:12:09 +02:00
package.json Moved plugin to a subfolder 2013-11-18 22:14:38 +01:00
README.md Moved plugin to a subfolder 2013-11-18 22:14:38 +01:00

Grunt build system

This grunt-based build system handles Kibana development environment setup for Marvel as well as building, packaging and distribution of the Marvel plugin. Note that you must run grunt setup before any other tasks as this build system reuses parts of the Kibana build system that must be fetched

Installing

You will need node.js+npm and grunt. Node is available via brew, install grunt with the command below. Once grunt is installed you may run grunt tasks to setup your environment and build Marvel

npm install -g grunt npm install

Tasks

grunt setup

Run this first. It will download the right Kibana version to ./vendor/kibana, copies the appropriate config.js to the right place and make any symlinks needed for a proper marvel/kibana environment

grunt server

Starts a web server on http://127.0.0.1:5601 pointing at the kibana directory, while also serving custom marvel panels

grunt jshint

Lints code without building

grunt build

Merges kibana and marvel code, builds Kibana and the plugin (via mvn) and puts them in ./build.

grunt package

Zips and tar+gzips the build in ./packages. Includes grunt build

grunt release

Uploads archives to download.elasticsearch.org/elasticsearch/marvel/marvel-VERSION.extention. Includes grunt build and grunt package. You will need S3 credentials in .aws-config.json. Format as so:

{
  "key":"MY_KEY_HERE",
  "secret":"your/long/secret/string"
}