mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
(cherry picked from commit 27483d5aa9
)
Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
This commit is contained in:
parent
c8e2536bfd
commit
e8c2e89154
1 changed files with 2 additions and 4 deletions
|
@ -3,7 +3,7 @@ URL that you use to download the report. Use the `GET` method in the HTTP reques
|
|||
|
||||
To queue CSV report generation using the `POST` URL with cURL:
|
||||
|
||||
["source","sh",subs="attributes"]
|
||||
[source,curl]
|
||||
---------------------------------------------------------
|
||||
curl \
|
||||
-XPOST \ <1>
|
||||
|
@ -11,7 +11,6 @@ curl \
|
|||
-H 'kbn-xsrf: true' \ <3>
|
||||
'http://0.0.0.0:5601/api/reporting/generate/csv?jobParams=...' <4>
|
||||
---------------------------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
<1> The required `POST` method.
|
||||
<2> The user credentials for a user with permission to access {kib} and {report-features}.
|
||||
|
@ -20,7 +19,7 @@ curl \
|
|||
|
||||
An example response for a successfully queued report:
|
||||
|
||||
[source,json]
|
||||
[source,js]
|
||||
---------------------------------------------------------
|
||||
{
|
||||
"path": "/api/reporting/jobs/download/jxzaofkc0ykpf4062305t068", <1>
|
||||
|
@ -35,7 +34,6 @@ An example response for a successfully queued report:
|
|||
}
|
||||
}
|
||||
---------------------------------------------------------
|
||||
// CONSOLE
|
||||
|
||||
<1> The relative path on the {kib} host for downloading the report.
|
||||
<2> (Not included in the example) Internal representation of the reporting job, as found in the `.reporting-*` index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue