diff --git a/docs/reporting/development/index.asciidoc b/docs/reporting/development/index.asciidoc index f24fe2bd2954..b81d718838cd 100644 --- a/docs/reporting/development/index.asciidoc +++ b/docs/reporting/development/index.asciidoc @@ -13,17 +13,10 @@ However, these docs will be kept up-to-date to reflect the current implementatio [float] [[reporting-nav-bar-extensions]] -=== Nav Bar Extensions -X-Pack uses the `NavBarExtensionsRegistryProvider` to register a navigation bar item for the -Dashboard/Discover/Visualize applications. These all use the `export-config` AngularJS directive to display the -Reporting options. Each of the different exportTypes require the AngularJS controller that the contains the -`export-config` directive to implement certain methods/properties that are used when creating the {reporting} job. +=== Share Menu Extensions +X-Pack uses the `ShareContextMenuExtensionsRegistryProvider` to register actions in the share menu. -If you wish to add Reporting integration via the navigation bar that emulates the way these options are chosen for -Dashboards, Visualize and Discover, you can reuse the `export-config` directive for the time being. Otherwise, you can -provide a custom UI that generates the URL that is used to generate the {reporting} job. - -This integration will likely be changing in the near future as we move away from AngularJS towards React. +This integration will likely be changing in the near future as we move towards a unified actions abstraction across {kib}. [float] === Generate Job URL diff --git a/docs/reporting/getting-started.asciidoc b/docs/reporting/getting-started.asciidoc index da00fc1d8136..6463adcbf35a 100644 --- a/docs/reporting/getting-started.asciidoc +++ b/docs/reporting/getting-started.asciidoc @@ -2,7 +2,7 @@ [[reporting-getting-started]] == Getting Started -{reporting} is automatically enabled in {kib}. +{reporting} is automatically enabled in {kib}. To manually generate a report: @@ -14,20 +14,24 @@ information, see <>. . Open the dashboard, visualization, or saved search you want to include in the report. -. Click *Reporting* in the {kib} toolbar: +. Click *Share* in the {kib} toolbar: + -- [role="screenshot"] -image:reporting/images/reporting-button.png["Reporting Button",link="reporting-button.png"] +image:reporting/images/share-button.png["Reporting Button",link="share-button.png"] -- . Depending on the {kib} application, choose the appropriate options: -.. If you're on Discover, click the *Generate CSV* button. +.. If you're on Discover: + ... Select *CSV Reports* + + ... Click the *Generate CSV* button. .. If you're on Visualize or Dashboard: + ... Select *PDF Reports* - ... Select either *Optimize PDF for printing* or *Preserve existing layout in PDF*. For an explanation of the different layout modes, see <>. + ... Choose to enable *Optimize for printing* layout mode. For an explanation of the different layout modes, see <>. ... Click the *Generate PDF* button. diff --git a/docs/reporting/images/csv-reporting.png b/docs/reporting/images/csv-reporting.png deleted file mode 100644 index 252a88e10766..000000000000 Binary files a/docs/reporting/images/csv-reporting.png and /dev/null differ diff --git a/docs/reporting/images/pdf-reporting.png b/docs/reporting/images/pdf-reporting.png deleted file mode 100644 index 6101b41dca40..000000000000 Binary files a/docs/reporting/images/pdf-reporting.png and /dev/null differ diff --git a/docs/reporting/images/preserve-layout-switch.png b/docs/reporting/images/preserve-layout-switch.png new file mode 100644 index 000000000000..9bc60b4e7aae Binary files /dev/null and b/docs/reporting/images/preserve-layout-switch.png differ diff --git a/docs/reporting/images/reporting-button.png b/docs/reporting/images/reporting-button.png deleted file mode 100644 index 16fae9587fcf..000000000000 Binary files a/docs/reporting/images/reporting-button.png and /dev/null differ diff --git a/docs/reporting/images/share-button.png b/docs/reporting/images/share-button.png new file mode 100644 index 000000000000..178ffa90d790 Binary files /dev/null and b/docs/reporting/images/share-button.png differ diff --git a/docs/reporting/index.asciidoc b/docs/reporting/index.asciidoc index 1cff0eb3495e..822731685594 100644 --- a/docs/reporting/index.asciidoc +++ b/docs/reporting/index.asciidoc @@ -13,10 +13,10 @@ NOTE: On Linux, the `libfontconfig` and `libfreetype6` packages and system fonts are required to generate PDF reports. If no system fonts are available, labels are not rendered correctly in the reports. -The following Reporting button is found in the {kib} toolbar: +Reporting is located in the share menu from the {kib} toolbar: [role="screenshot"] -image::reporting/images/reporting-button.png["Reporting"] +image::reporting/images/share-button.png["Share"] You can also <>. @@ -30,4 +30,4 @@ include::pdf-layout-modes.asciidoc[] include::configuring-reporting.asciidoc[] include::chromium-sandbox.asciidoc[] include::reporting-troubleshooting.asciidoc[] -include::development/index.asciidoc[] \ No newline at end of file +include::development/index.asciidoc[] diff --git a/docs/reporting/pdf-layout-modes.asciidoc b/docs/reporting/pdf-layout-modes.asciidoc index bdf7346bf983..e6652cc8e4b2 100644 --- a/docs/reporting/pdf-layout-modes.asciidoc +++ b/docs/reporting/pdf-layout-modes.asciidoc @@ -5,7 +5,7 @@ When creating a PDF report, there are two layout modes *Optimize PDF for printin -- [role="screenshot"] -image:reporting/images/pdf-reporting.png["PDF Reporting",link="pdf-reporting.png"] +image:reporting/images/preserve-layout-switch.png["PDF Reporting",link="preserve-layout-switch.png"] -- [float] @@ -26,4 +26,4 @@ This will create a PDF preserving the existing layout and size of the Visualizat -- [role="screenshot"] image:reporting/images/preserve-layout.png["Preserve existing layout in PDF",link="preserve-layout.png"] --- \ No newline at end of file +--