-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
174 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,11 @@ | ||
# Kibana Reporting | ||
# Kibana Screenshotting | ||
|
||
An awesome Kibana reporting plugin | ||
This plugin provides functionality to take screenshots of the Kibana pages. | ||
It uses Chromium and Puppeteer underneath to run the browser in headless mode. | ||
|
||
# Development | ||
## API | ||
|
||
Assuming you've checked out x-plugins next to kibana... | ||
The plugin exposes most of the functionality in the start contract. | ||
The Chromium download and setup is happening during the setup stage. | ||
|
||
- 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. | ||
To learn more about the public API, please use automatically generated API reference or generated TypeDoc comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters