A newer version is available. For the latest information, see the
current release documentation.
Pin an event to an existing Timeline
editPin an event to an existing Timeline
editConsole supports only Elasticsearch APIs. Console doesn’t allow interactions with Kibana APIs. You must use curl
or another HTTP tool instead. For more information, refer to Run Elasticsearch API requests.
Request 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" }