{ return rawValue + ' is sad and plain'; }, html: function (rawValue, field, hit) { return '<h1>' + rawValue + ' is HUGE </h1>'; } } [code fluff below] Formatter Plugins They boil down to this
"Looking good", “icon”: "success", “since”: "2016-02-11T16:25:02.146Z" }, “statuses”: [ { “name”: "plugin:kibana", “state”: "green", curl localhost:5601/api/status Status API Yeah… we have those too
Install yeoman npm install -g generator-kibana-plugin # Install the kibana plugin generator Configure it mkdir my-new-plugin cd my-new-plugin yo kibana-plugin # Generate an app skeleton npm start # Start the plugin development environment Create it cd ../kibana npm start # With Elasticsearch running, start the kibana development environment Visit http://localhost:5601
export default kibana => { return new kibana.Plugin({ uiExports: { hacks: [ 'plugins/foo/foo' ] } }); }; index.js public/foo.js import uiModules from 'ui/modules'; uiModules.get('kibana').run(config => { alert(config.get(‘my:Special:Setting’)); // Awful things from here on down });