kibana/x-pack/plugins/reporting
Tim Sullivan d5c3cac6fc
[Typescript/Chore] Convert LevelLogger Logger to Typescript (#34972)
* [Typescript/Chore] Convert LevelLogger to Typescript

* prettier

* tags optional for warn

* fix shadow lint rule
2019-04-12 15:31:50 -07:00
..
common [@kbn/expect] "fork" expect.js into repo (#33761) 2019-03-25 09:56:48 -07:00
export_types [@kbn/expect] "fork" expect.js into repo (#33761) 2019-03-25 09:56:48 -07:00
public Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
server [Typescript/Chore] Convert LevelLogger Logger to Typescript (#34972) 2019-04-12 15:31:50 -07:00
test_helpers
index.js Reporting: register a single ESQueue worker, simultaneous poll for all export types (#32839) 2019-03-15 12:27:02 -07:00
log_configuration.js [Reporting] Consolidate startup self-checks (#31931) 2019-03-13 17:28:51 -07:00
README.md
types.d.ts Reporting: register a single ESQueue worker, simultaneous poll for all export types (#32839) 2019-03-15 12:27:02 -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.