Event collection from Google Cloud Platform (GCP)
The MID WebService Event Collector enables you to collect JSON formatted event messages sent from Google Cloud Platform (GCP).
Avant de commencer
Ensure that the Event Management Connectors (sn_em_connector) plugin is installed on the ServiceNow AI Platform instance.
- Deploy and start the MID Server. See MID Server configuration .
- Configure and start the MID Web Server. See Configure the MID Web Server extension.
- Configure and start the MID WebService Event Collector. See Configure the MID WebService Event Collector Context.
Role required: evt_mgmt_admin
Pourquoi et quand exécuter cette tâche
JSON formatted event messages are sent from Google Cloud Platform. The MID Server transforms the collected event messages by parsing them using the TransformEvents_MidGoogleMonitor script include, located here: . In the Push Connectors page, click Google Monitor Mid Push Connector.
The default format of the URL to push event messages from the GCP to the MID Server is http://<MID_Server_IP>:<MID_Web_Server_Port>/api/mid/em/inbound_event?Transform=TransformEvents_MidGoogleMonitor.
| Variable | Description |
|---|---|
| MID_Server_IP | IP address of the MID Web Server Extension. |
| MID_Web_Server_Port | Listening port of the MID Web Server Extension. |
| MID_Web_Server_User | Username for the MID Web Server Extension. |
| MID_Web_Server_Password | Password of the user of the MID Web Server. |
The following procedure describes the collection of JSON formatted event messages using basic authentication.
Procédure
Résultats
GCP does not send values such as the severity level into the payload. The default severity is Minor, which can be changed in the Push Connector Configuration section of . The valid values of severity are 1- Critical, 2- Major, 3- Minor, 4- Warning, and 5- Info.