IBM Cloud Docs
Configuring an outbound integration to connect IBM Cloud Logs with IBM Cloud Event Notifications

Configuring an outbound integration to connect IBM Cloud Logs with IBM Cloud Event Notifications

To send events that are generated when an alert is triggered in an IBM Cloud Logs instance, you must connect your IBM Cloud Logs instance to Event Notifications by configuring an outbound integration.

Prereqs

  • Learn about alerts in IBM Cloud Logs. For more information, see Alerting.
  • Learn about IBM Cloud Event Notifications. For more information, see What is IBM Cloud Event Notifications?.
  • Before you can enable notifications for IBM Cloud Logs, be sure that you have an Event Notifications instance that is in the same account as your IBM Cloud Logs instance and permisions to configure resources in the Event Notifications instance.

Step 1. Define a service to service authorization

A service to service authorization is used in the IBM Cloud account to authorize the IBM Cloud Logs service to send events to the Event Notifications service.

You must configure a service to service authorization between the IBM Cloud Logs instance and the Event Notifications instance. For more information, see Creating a S2S authorization to work with the IBM Cloud Event Notifications service.

Step 2. Configuring an outbound integration

Complete the following steps to configure an outbound integration:

  1. In the console, click the Navigation Menu icon Navigation Menu icon > Resource list.
  2. Select your instance of IBM Cloud Logs.
  3. In the IBM Cloud Logs navigation, click the Integrations icon Integrations icon > Outbound integrations.
  4. In the outbound integrations section, find Event Notifications and click Add.
  5. On the Integrations page, click Add new.
  6. If an IAM authorization between IBM Cloud Logs and Event Notifications doesn't exist in your account, you must configure one by clicking IAM Authorizations. Follow the prompts to grant access between the services. For more information, see Creating a S2S authorization to work with the IBM Cloud Event Notifications service.
  7. Enter a name for the integration.
  8. Select the Event Notifications service instance that you want to connect to your IBM Cloud Logs instance.
  9. To confirm the connection, click Save.

Next step

After you enable notifications for IBM Cloud Logs, test your connection to ensure that the events that are generated by IBM Cloud Logs are being forwarded to Event Notifications.

Complete the following steps:

  1. Create an alert in IBM Cloud Logs.
  2. Configure Event Notifications resources to route an event to a destination when an alert is triggered.
  3. Generate logs that trigger an alert so you can verify it through the Incidents page.