Monitoring AWS Systems Manager for SAP events using EventBridge - AWS Systems Manager for SAP

Monitoring AWS Systems Manager for SAP events using EventBridge

Monitor events using EventBridge

You can track the following AWS Systems Manager for SAP-related events in EventBridge.

Event type Status Event details

SSM for SAP Operation State Change

InProgress, Success, Error

operationId, type, applicationId, resourceId, resourceType, status, statusMessage

Use these sample JSON payloads if you would like to use these events programmatically.

Event state JSON payload

SSM for SAP Operation: InProgress

{ "version": "0", "id": "6b41eac1-3685-c064-12a3-f16b57f30114", "detail-type": "SSM for SAP Operation State Change", "source": "aws.ssm-sap", "account": "112233445566", "time": "2023-01-25T08:04:33Z", "region": "us-east-1", "resources": [], "detail": { "operationId": "dbfd5c7d-0f5a-4ad3-87bf-d04b65eba21e", "type": "REGISTER_APPLICATION", "applicationId": "HANA_TEST", "resourceId": "HDB", "resourceType": "APPLICATION", "status": "InProgress", "statusMessage": null } }

SSM for SAP Operation: Success

{ "version": "0", "id": "05595cb1-ceac-1fb0-9040-045ca7865146", "detail-type": "SSM for SAP Operation State Change", "source": "aws.ssm-sap", "account": "112233445566", "time": "2023-01-26T04:45:43Z", "region": "us-east-1", "resources": [], "detail": { "operationId": "e5de5599-3b1e-4892-9201-835e71c6090a", "type": "REGISTER_APPLICATION", "applicationId": "HANA_TEST", "resourceId": "HDB", "resourceType": "APPLICATION", "status": "Success", "statusMessage": null } }

SSM for SAP Operation: Error

{ "version": "0", "id": "fb715f90-e80c-1c7f-f179-e6646f4b97d9", "detail-type": "SSM for SAP Operation State Change", "source": "aws.ssm-sap", "account": "112233445566", "time": "2023-01-26T04:46:34Z", "region": "us-east-1", "resources": [], "detail": { "operationId": "77c8f0e6-6987-4e2b-9517-c5a44388992a", "type": "UPDATE_CREDENTIALS", "applicationId": "HANA", "resourceId": "HDB", "resourceType": "APPLICATION", "status": "Error", "statusMessage": null } }

Example

The following is an event pattern example of Operation State Change event from AWS Systems Manager for SAP using the RegisterApplication API.

{ "source": ["aws.ssm-sap"], "detail-type": ["SSM for SAP Operation State Change"], "detail": { "type": ["REGISTER_APPLICATION"] } }