Spaces method and path for this operation:
Refer to Spaces for more information.
Install or update prepackaged Timelines.
Body
Required
The Timelines to install or update.
-
Hide prepackagedTimelines attributes Show prepackagedTimelines 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. -
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
-
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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID). -
The
savedObjectIdof the note -
The version of the note
-
-
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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID). -
The
savedObjectIdof the note -
The version of the note
-
-
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
-
-
-
Hide timelinesToInstall attributes Show timelinesToInstall 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. -
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
-
Hide eventNotes attributes Show eventNotes 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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID).
-
-
Hide globalNotes attributes Show globalNotes 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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID).
-
-
-
Hide timelinesToUpdate attributes Show timelinesToUpdate 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. -
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
-
Hide eventNotes attributes Show eventNotes 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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID).
-
-
Hide globalNotes attributes Show globalNotes 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
-
Elasticsearch document
_idfor the event or alert this note refers to. Same value as thedocumentIdsquery parameter when fetching notes via GET /api/note. -
The text of the note
-
The
savedObjectIdof the Timeline this note belongs to (not the note's own ID).
-
-
Responses
-
Indicates a successful call.
Hide response attributes Show response attributes object
-
The list of failed Timeline imports
Hide errors attributes Show errors attributes object
-
The error containing the reason why the timeline could not be imported
-
The ID of the timeline that failed to import
-
-
Indicates whether any of the Timelines were successfully imports
-
The amount of successfully imported/updated Timelines
-
The amount of successfully installed Timelines
-
The amount of successfully updated Timelines
-
-
Indicates the installation of prepackaged Timelines was unsuccessful.
curl \
--request POST 'https://<KIBANA_URL>/api/timeline/_prepackaged' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"prepackagedTimelines":[],"timelinesToInstall":[],"timelinesToUpdate":[]}'
{
"prepackagedTimelines": [],
"timelinesToInstall": [],
"timelinesToUpdate": []
}
{
"errors": [],
"success": true,
"success_count": 10,
"timelines_installed": 8,
"timelines_updated": 2
}
{
"body": "Internal error",
"statusCode": 500
}