Link

ZELK STACK INCIDENT WEBHOOK PAYLOAD

ZELK Stack Payload

Name Type Description
ze_event_type string Always: zelk_incident
ze_incident_id UUID Unique identifier of the Zebrium Incident
ze_incident_url url encoded string URL to view incident in the Zebrium UI
ze_incident_like url encoded string URL to like the incident in Zebrium backend for M.L. training
ze_incident_mute url encoded string URL to mute the incident in Zebrium backend for M.L. training
ze_incident_spam url encoded string URL to spam the incident in Zebrium backend for M.L. training
ze_incident_epoch_ts timestamp UTC timestamp of incident start
ze_incident_hallmark string Hallmark log event text (used by the Kibana Canvas to summarize Incidents)
message string Hallmark log event text (included for visibility when looking at the incident index directly rather than from the Kibana Canvas)
ze_xids string Comma separated list of ze_xids (UUID that exists in both Elastic and Zebrtium)
ze_incident_query url encoded string URL to query Elastic for all log events with ze_xids (used by the Kibana Canvas to show Incident details)

Example Payload

{
    "ze_event_type" : "zelk_incident",
    "ze_incident_id" : "0005edb2-2a5d-65b0-0200-007000013af2",
    "ze_incident_url" : "https://portal03.zebrium.com/0/incidents/0005edb2-2a5d-65b0-0200-007000013af2",
    "ze_incident_like" : "https://zapi03.zebrium.com/api/v2/incident/setstate/0005edb2-2a5d-65b0-0200-007000013af2/liked/<zapi_auth_token>",
    "ze_incident_mute" : "https://zapi03.zebrium.com/api/v2/incident/setstate/0005edb2-2a5d-65b0-0200-007000013af2/mute/<zapi_auth_token>",
    "ze_incident_spam" : "https://zapi03.zebrium.com/api/v2/incident/setstate/0005edb2-2a5d-65b0-0200-007000013af2/spam/<zapi_auth_token>", 
    "ze_incident_epoch_ts" : "2020-06-06 04:59:17.878",
    "ze_incident_hallmark" : "2020-06-06 04:59:18,718 WARN  [UpmScheduler:thread-1]  com.atlassian.upm.pac.PacClientImpl Update check request may take longer because of the number of add-ons",
    "message" : "2020-06-06 04:59:18,718 WARN  [UpmScheduler:thread-1]  com.atlassian.upm.pac.PacClientImpl Update check request may take longer because of the number of add-ons",
    "ze_xids" : "9b6a3a54-60bc-4c82-8978-01b4fdeda4e9,222ea7b571-4afd-4349-8223-a5750025909b,0b897bbe-0be2-4e1e-93b1-cee5a3cbdff1,8e648fb4-a030-4254-b463-150b3ed90802, 2ea7b571-4afd-4349-8223-a5750025909b",
    "ze_incident_query" : "http://54.153.38.174:5601/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:2020-09-08T18:00:00.000Z,to:2020-09-10T19:30:00.000Z))&_a=(columns:!(message),filters:!(),index:'471d0800-f228-11ea-9240-7d9af29c68bf',interval:auto,query:(language:kuery,query:'@ze_xid:(%229b6a3a54-60bc-4c82-8978-01b4fdeda4e9%22%20or%20%220b897bbe-0be2-4e1e-93b1-cee5a3cbdff1%22%20or%20%228e648fb4-a030-4254-b463-150b3ed90802%22%20or%20%222ea7b571-4afd-4349-8223-a5750025909b%22)'),sort:!())"
}