kibana/x-pack/plugins/reporting
Poff Poffenberger 82dd173b2a
Use server basepath when creating reporting jobs (#72722)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-22 08:05:53 -05:00
..
common [Reporting] Move a few server files for shorter paths (#71591) 2020-07-14 13:47:38 -07:00
public Management API - simpler interface, remove app context usage (#71144) 2020-07-14 11:30:01 -05:00
server Use server basepath when creating reporting jobs (#72722) 2020-07-22 08:05:53 -05:00
constants.ts [New Platform Migration]: Management - Implement NP API (#66781) 2020-06-03 18:55:06 +03:00
kibana.json [kbn/optimizer] implement "requiredBundles" property of KP plugins (#70911) 2020-07-09 18:43:17 -07:00
README.md [Reporting] Move code out of Legacy (#67904) 2020-06-03 15:40:56 -07:00

Kibana Reporting

An awesome Kibana reporting plugin

Development

Assuming you've checked out x-plugins next to kibana...

  • Run yarn kbn bootstrap
  • Run yarn start to watch for and sync files on change
  • Open a new terminal to run Kibana - use yarn start to launch it in dev mode
    • Kibana will automatically restart as files are synced
    • If you need debugging output, run DEBUG=reporting yarn start instead

If you have installed this somewhere other than via x-plugins, and next to the kibana repo, you'll need to change the pathToKibana setting in gulpfile.js

Conventions

This plugins adopts some conventions in addition to or in place of conventions in Kibana (at the time of the plugin's creation):

Folder structure

export_types/ (contains public and server aspects of the different export types) 
  printable_pdf/ 
    public/
    server/
  csv/
    public/
    server/
public/ (shared public code for all export types)
server/ (shared server code for all export types)

This folder structure treats the different export_types like Plugins, with their public/server code being separate in a folder.