Back to Kibana

Case analytics indices schema[case-analytics-indices-schema]

docs/reference/case-analytics-indices-schema.md

9.4.08.4 KB
Original Source

Case analytics indices schema[case-analytics-indices-schema]

This page lists fields that can appear in case analytics indices documents. These fields display general data about cases, in addition to data about case comments, attachments, and activity.

To learn more about the indices and cases as data feature, refer to Use cases as data.

::::{important} The cases as data feature is in technical preview, meaning the schema for the case analytics indices is subject to change. ::::

General case data

NameField typeDescription
@timestampdateThe date the document for the case was added to the case analytics indices.
titletext / semantic_textThe case title.
descriptiontext / semantic_textThe case description.
tagskeywordTags added to case.
categorykeywordThe case category.
statuskeywordThe case status. Possible values are open, in-progress, closed.
status_sortlongThe status of the case. Possible values are 0, 10, 20, where 0 corresponds to the open status, 10 corresponds to the in-progress status, and 20 corresponds to the closed status.
severitykeywordThe case severity. Possible values are low, medium, high, critical.
severity_sortlongThe severity of the case. Possible values are 0, 10, 20, 30, where 0 corresponds to the low severity, 10 corresponds to the medium severity, 20 corresponds to the high severity, and 30 corresponds to the critical severity.
created_atdateThe date of when the case was created, provided in ISO 8601 [2] format and set to the servers' timezone.
created_at_mslongThe case creation timestamp in milliseconds.
created_by.usernamekeywordThe username of the user who created the case.
created_by.profile_uidkeywordThe user ID of the user who created the case.
created_by.full_namekeywordThe full name of the user who created the case.
created_by.emailkeywordThe email address of the user who created the case.
updated_atdateThe date of when case was last modified, provided in ISO 8601 [2] and set to the servers' timezone.
updated_at_mslongThe case update timestamp in milliseconds.
updated_by.usernamekeywordThe username of the user who last updated the case.
updated_by.profile_uidkeywordThe user ID of the user who last updated the case.
updated_by.full_namekeywordThe full name of the user who last updated the case.
updated_by.emailkeywordThe email address of the user who last updated the case.
closed_atdateThe date of case closure, provided in ISO 8601 [2] format and set to the servers' timezone.
closed_at_mslongThe case closure timestamp in milliseconds.
closed_by.usernamekeywordThe username of the user who closed the case.
closed_by.profile_uidkeywordThe user ID of the user who closed the case.
closed_by.full_namekeywordThe full name of the user who closed the case.
closed_by.emailkeywordThe email address of the user who closed the case.
assigneeskeywordThe user IDs of the users assigned to the case.
time_to_resolvelongThe time in seconds taken to mark the case as Closed. It is calculated by measuring how long it took to update the case status from Open to Closed.
time_to_acknowledgelongThe time in seconds taken to mark the case as in progress. It is calculated by measuring how long it took to update the case status to In progress after the case was created.
time_to_investigatelongThe time in seconds taken to mark the case as Closed. It is calculated by measuring how long it took to update the case status from In progress to Closed.
custom_fields.typekeywordThe custom field type.
custom_fields.labelkeywordThe custom field label.
custom_fields.valuekeywordThe value of the custom field value.
observables.typekeywordThe observable type.
observables.labelkeywordThe observable label.
observables.valuekeywordThe observable value.
total_commentsintegerThe total number of comments in a case.
total_alertsintegerThe total number of alerts attached to a case.
total_assigneesintegerThe total number of assignees to a case.
ownerkeywordThe case owner.
space_idskeywordA list of spaces where the case is visible.

Case comments

NameField typeDescription
@timestampdateThe date the document for the case was added to the case analytics indices.
case_idkeywordThe case UUID.
commenttextThe user’s comment.
created_atdateThe date the comment was added, provided in ISO 8601 [2] format and set to the servers' timezone.
created_by.usernamekeywordThe username of the user who created the case.
created_by.profile_uidkeywordThe user ID of the user who created the case.
created_by.full_namekeywordThe full name of the user who created the case.
created_by.emailkeywordThe email address of the user who created the case.
updated_atdateThe date of the last case update, provided in ISO 8601 [2] format and set to the servers' timezone.
updated_by.usernamekeywordThe username of the user who last updated the case.
updated_by.profile_uidkeywordThe user ID of the user who last updated the case.
updated_by.full_namekeywordThe full name of the user who last updated the case.
updated_by.emailkeywordThe email address of the user who last updated the case.
ownerkeywordThe case owner.
space_idskeywordThe list of spaces the case is visible.

Case attachments

NameField typeDescription
@timestampdateThe date the document for the case was added to the case analytics indices.
case_idkeywordThe case UUID.
typekeywordThe type of attachment.
payloadflattenedThe data in the attachment.
payload.alerts.idkeywordThe ID of the alert.
payload.alerts.indexkeywordThe index that stores the alert document.
payload.file.idkeywordThe file ID.
payload.file.extensionkeywordThe file extension.
payload.file.mimeTypekeywordThe file mime type.
payload.file.namekeywordThe file name.
created_atdateThe date of when the case was created, provided in ISO 8601 [2] format and set to the servers' timezone.
created_by.usernamekeywordThe username of the user who created the case.
created_by.profile_uidkeywordThe user ID of the user who created the case.
created_by.full_namekeywordThe full name of the user who created the case.
created_by.emailkeywordThe email address of the user who created the case.
ownerkeywordThe case owner.
space_idskeywordThe list of spaces the case is visible.

Case activity

NameField typeDescription
@timestampdateThe date the document for the case was added to the case analytics indices.
case_idkeywordThe case UUID.
actionkeywordThe user’s action. Possible values are add, create, update, delete.
typekeywordThe type of the action a user took. Possible values are status, create_case, delete_case.
payload.statuskeywordThe new case status. Possible values are open, in-progress, closed.
payload.tagskeywordThe new case tags.
payload.categorykeywordThe new case category.
payload.severitykeywordThe new case severity. Possible values are low, medium, high, critical.
created_atdateThe date of when the case was created, provided in ISO 8601 [2] format and set to the servers' timezone.
created_at_mslongThe case creation timestamp in milliseconds.
created_by.usernamekeywordThe username of the user who created the case.
created_by.profile_uidkeywordThe user ID of the user who created the case.
created_by.full_namekeywordThe full name of the user who created the case.
created_by.emailkeywordThe email address of the user who created the case.
ownerkeywordThe case owner.
space_idskeywordThe list of spaces the case is visible.