Skip to content

Commit 2a7af58

Browse files
authored
[DOCS] Added images to automating report generation (#64333) (#64353)
* [DOCS] Added images to automating report generation * Fixes image file name
1 parent 9024d28 commit 2a7af58

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed
52.8 KB
Loading
51.6 KB
Loading

docs/user/reporting/automating-report-generation.asciidoc

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,42 @@
11
[role="xpack"]
22
[[automating-report-generation]]
33
== Automating report generation
4-
You can automatically generate reports with {watcher}, or by submitting
5-
HTTP `POST` requests from a script.
4+
Automatically generate PDF and CSV reports by submitting HTTP `POST` requests using {watcher} or a script.
65

76
include::report-intervals.asciidoc[]
87

98
[float]
10-
=== Get the POST URL
9+
=== Create a POST URL
1110

12-
Generating a report either through {watcher} or a script requires capturing the **POST
13-
URL**, which is the URL to queue a report for generation.
11+
Create the POST
12+
URL that triggers a report to generate.
1413

15-
To get the URL for triggering PDF report generation during a given time period:
14+
To create the POST URL for PDF reports:
1615

17-
. Load the saved object in *Visualize* or *Dashboard*.
18-
. To specify a relative or absolute time period, use the time filter.
19-
. In the {kib} toolbar, click *Share*.
20-
. Select *PDF Reports*.
21-
. Click **Copy POST URL**.
16+
. Go to *Visualize* or *Dashboard*, then open the visualization or dashboard.
17+
+
18+
To specify a relative or absolute time period, use the time filter.
2219

23-
To get the URL for triggering CSV report generation during a given time period:
20+
. From the {kib} toolbar, click *Share*, then select *PDF Reports*.
21+
22+
. Click *Copy POST URL*.
23+
+
24+
[role="screenshot"]
25+
image::images/report-automate-pdf.png[Generate Visualize and Dashboard reports]
26+
27+
28+
To create the POST URL for CSV reports:
2429

2530
. Load the saved search in *Discover*.
26-
. To specify a relative or absolute time period, use the time filter.
27-
. In the {kib} toolbar, click *Share*.
28-
. Select *CSV Reports*.
29-
. Click **Copy POST URL**.
31+
+
32+
To specify a relative or absolute time period, use the time filter.
33+
34+
. From the {kib} toolbar, click *Share*, then select *CSV Reports*.
35+
36+
. Click *Copy POST URL*.
37+
+
38+
[role="screenshot"]
39+
image::images/report-automate-csv.png[Generate Discover reports]
3040

3141
[float]
3242
=== Use Watcher

0 commit comments

Comments
 (0)