Get draft Timeline or Timeline template details
Spaces method and path for this operation:
Refer to Spaces for more information.
Get the details of the draft Timeline or Timeline template for the current user. If the user doesn't have a draft Timeline, an empty Timeline is returned.
Responses
-
Indicates that the draft Timeline was successfully retrieved.
Hide response attribute Show response attribute object
-
Hide data attribute Show data attribute object
-
Hide persistTimeline attribute Show persistTimeline attribute object
-
Hide timeline attributes Show timeline attributes object
-
The Timeline's columns
Hide columns attributes Show columns attributes object
-
The time the Timeline was created, using a 13-digit Epoch timestamp.
-
The user who created the Timeline.
-
Object containing query clauses
Hide dataProviders attributes Show dataProviders attributes object
-
Hide and attributes Show and attributes object
-
Hide queryMatch attributes Show queryMatch attributes object
-
The type of data provider.
Values are
defaultortemplate.
-
-
ID of the Timeline's Data View
-
The Timeline's search period.
Hide dateRange attributes Show dateRange attributes object | null
-
The Timeline's description
-
EQL query that is used in the correlation tab
Hide eqlOptions attributes Show eqlOptions attributes object | null
-
Event types displayed in the Timeline
-
A list of row renderers that should not be used when in
Event renderersmodeValues are
alert,alerts,auditd,auditd_file,library,netflow,plain,registry,suricata,system,system_dns,system_endgame_process,system_file,system_fim,system_security_event,system_socket,threat_match, orzeek. -
Indicates when and who marked a Timeline as a favorite.
-
A list of filters that should be applied to the query
Hide filters attributes Show filters attributes object
-
A list of index names to use in the query (e.g. when the default data view has been modified)
-
Indicates whether the KQL bar filters the query results or searches for additional results, where:
filter: filters query resultssearch: displays additional search results
-
KQL bar query.
Hide kqlQuery attribute Show kqlQuery attribute object
-
The ID of the saved query that might be used in the Query tab
-
The ID of the saved search that is used in the ES|QL tab
-
The status of the Timeline.
Values are
active,draft, orimmutable. -
A unique ID (UUID) for Timeline templates. For Timelines, the value is
null. -
Timeline template version number. For Timelines, the value is
null. -
The type of Timeline.
Values are
defaultortemplate. -
The Timeline's title.
-
The last time the Timeline was updated, using a 13-digit Epoch timestamp
-
The user who last updated the Timeline
-
The
savedObjectIdof the Timeline or Timeline template -
The version of the Timeline or Timeline template
-
A list of all the notes that are associated to this Timeline.
Hide eventIdToNoteIds attributes Show eventIdToNoteIds attributes object
-
The time the note was created, using a 13-digit Epoch timestamp.
-
The user who created the note.
-
The last time the note was updated, using a 13-digit Epoch timestamp
-
The user who last updated the note
-
The
_idof the associated event for this note. -
The text of the note
-
The
savedObjectIdof the Timeline that this note is associated with -
The
savedObjectIdof the note -
The version of the note
-
-
A list of all the ids of notes that are associated to this Timeline.
-
A list of all the notes that are associated to this Timeline.
Hide notes attributes Show notes attributes object
-
The time the note was created, using a 13-digit Epoch timestamp.
-
The user who created the note.
-
The last time the note was updated, using a 13-digit Epoch timestamp
-
The user who last updated the note
-
The
_idof the associated event for this note. -
The text of the note
-
The
savedObjectIdof the Timeline that this note is associated with -
The
savedObjectIdof the note -
The version of the note
-
-
A list of all the ids of pinned events that are associated to this Timeline.
-
A list of all the pinned events that are associated to this Timeline.
Hide pinnedEventsSaveObject attributes Show pinnedEventsSaveObject attributes object
-
The time the pinned event was created, using a 13-digit Epoch timestamp.
-
The user who created the pinned event.
-
The last time the pinned event was updated, using a 13-digit Epoch timestamp
-
The user who last updated the pinned event
-
The
_idof the associated event for this pinned event. -
The
savedObjectIdof the timeline that this pinned event is associated with -
The
savedObjectIdof this pinned event -
The version of this pinned event
-
-
-
-
-
-
If a draft Timeline was not found and we attempted to create one, it indicates that the user does not have the required permissions to create a draft Timeline.
-
This should never happen, but if a draft Timeline was not found and we attempted to create one, it indicates that there is already a draft Timeline with the given
timelineId.
curl \
--request GET 'https://localhost:5601/api/timeline/_draft?timelineType=default' \
--header "Authorization: $API_KEY"