Create a snapshot
POST/v1/snapshotter
Creates a new Kibana snapshot and shares with recipients through email or notification endpoint. Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
Possible values: [DASHBOARD
, VISUALIZATION
]
The object type to share
ID of the object to share. If you don't know the object ID, you can use the /kibana/export endpoint.
URLs of Slack webhooks that you want to send this snapshot to.
At least one of emails
, slackWebhookUrls
, and endpoints
is required with each request. If all three are missing, the request will fail.
IDs of notification endpoints that you want to send this snapshot to
At least one of emails
, slackWebhookUrls
, and endpoints
is required with each request. If all three are missing, the request will fail.
Email addresses that you want to send this snapshot to
At least one of emails
, slackWebhookUrls
, and endpoints
is required with each request. If all three are missing, the request will fail.
Message to send to the shared object recipients
Starting timedate of the visualization, as a Unix epoch integer.
Ending timedate of the visualization, as a Unix epoch integer.
Time zone to use in timeFrameFrom
and timeFrameTo
Search query
To send the object with Kibana dark theme colors, true
. Otherwise, false
.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
ID of the snapshot
{
"snapshotId": 2049
}