Create Rules at Google Admin console

  1. Login to https://admin.google.com admin console

  1. Go to Rules -> Create rule -> Reporting

  1. Provide the Rule details and description. Click on NEXT:VIEW CONDITIONS

  1. Create conditions for rule. Select Data Source as Admin log event. Click on condition builder and select Attribute. Select the ChromeOS setting in the Event dropdown.

  1. Click on NEXT:VIEW REVIEW

  1. Review and create rule

  1. Test Rule created.

List of Rules Created to Receive Alert Events via Google Pub/Sub

  1. Rule for Change Device State alerts.

  1. Rule for Issue Device command alerts.

Troubleshooting steps if unable to receive alert events at service

  1. Publish a message to the topic created.

  1. Check whether logs are reporting or not in Reporting