Integrate Google Cloud Platform (GCP) events
Integrate Google Cloud Platform (GCP) with Event Management by adding a standard webhook in the GCP console.
Before you begin
- Ensure that the Event Management Connectors (sn_em_connector) plugin is installed on the ServiceNow AI Platform instance.
- The Event Management plugin must be installed on the ServiceNow AI Platform instance.
- Verify Configuration Items for the hosts managed by GCP exist in ServiceNow. These CIs can be physical or virtual, and can be either manually created or discovered using IP discovery or Cloud discovery.
- The Event Management Connector plugin supports GCP alert data in JSON 1.2 format only.
- Role required: evt_mgmt_integration
About this task
Configure the Event Management environment for the collection of events from GCP. In your GCP console, set your ServiceNow AI Platform instance as the rest endpoint using a standard webhook.
Procedure
Result
Alerts start flowing from GCP into the Event Management plugin. The plugin extracts information from the original GCP alert message to populate the required event fields and inserts the event into the database. In your ServiceNow AI Platform instance, navigate toAll Eventsto see the events.
GCP does not send values such as the severity level in the payload. The default severity is Minor, which can be changed in thePush Connector Configurationsection of. The valid values of severity are1- Critical,2- Major,3- Minor,4- Warning, and5- Info.
To map the GCP hosts to thecmdb_ci_server record instead ofcmdb_ci_vm_object, disable theGoogle Monitor - Generalevent rule created for GCP. For further information about event rules, see Event rules.