This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Pin an event to an existing Timeline
editPin an event to an existing Timeline
editRequest URL
editPATCH <kibana host>:<port>/api/pinned_event
Request body
editName | Type | Description | Required |
---|---|---|---|
|
String |
Each document has an |
Yes |
|
String |
A pinned event |
No |
|
String |
The |
Yes |
Example requests
editExample 1
Pin an event to an existing Timeline:
PATCH api/pinned_event { "eventId":"LRuPFXkBVs8glbN0jXtI", "timelineId":"b2c103b0-a79d-11eb-9dce-0f3114099868" }
Example 2
Unpin an event:
PATCH api/pinned_event { "eventId":"LRuPFXkBVs8glbN0jXtI", "pinnedEventId":"9bc11e40-b312-11eb-8078-5b983613cc0f", "timelineId":"b2c103b0-a79d-11eb-9dce-0f3114099868" }