EventBridge

Oracle Database@AWS provides the capability to monitor your resources using EventBridge. EventBridge delivers a continuous flow of real-time data from applications and AWS services.

EventBridge forwards the data to different targets, such as AWS Lambda and Amazon Simple Notification Service. You can generate Oracle Database@AWS events from AWS and OCI service consoles.

For more information, see Monitoring Oracle Database@AWS events in Amazon EventBridge.

Prerequisite:

  1. You must have an existing Exadata Infrastructure. If you do not have an existing Exadata Infrastructure, you must create Exadata Infrastructure.
    Note

    The status of Exadata Infrastructure must be Available.

These are the steps to monitor events from your Exadata Database and Autonomous Database resources in your Oracle Database@AWS, and send them to AWS EventBridge.

  1. From the AWS console, select Amazon EventBridge from Services.
  2. Navigate to the Integration section, and then select Partner event sources. Confirm that you have an Active partner event source(s).
  3. Navigate to the Buses section, and then select Event buses.
    Note

    Your partner event source name must match with the event bus name.
  4. From the left menu, select the Rules tab located under the Buses section.
    1. From the Event bus dropdown list, select your event bus name.
    2. Select the Create rule button to add rule(s) for publishing events from Event buses to CloudWatch. For more information, see Creating rules that react to events in Amazon EventBridge.
      1. In the Define rule detail step, complete the following substeps:
        1. Enter an unique Name.
          Note

          The Name can be up to 64 characters. It can include the following characters: 0-9, a-z , A-Z, dot (.), underscore (_) and hypens (-).
        2. The Description field is optional.
        3. From the Event bus dropdown list, select the custom or partner event bus that you are created previously.
        4. By default, the Rule type is selected as Rule with an event pattern.
        5. Review your selection, and then select the Next button.This screenshot shows the first part of creating rule.
      2. In the Build event pattern step, complete the following substeps:
        1. Select the All events option for your Event source.
          Note

          When the All events option is selected, EventBridge will send every event that comes to this event bus to this rule.
        2. The Sample event section is optional. Expand the section, if you want to enter a sample event.
        3. The Event pattern section is optional.
        4. Review your selection, and then select the Next button.This screenshot shows the second part of creating a rule.
      3. In the Select target(s) step, complete the following substeps:
        1. Select your Target types. EventBridge event bus , EventBridge API destination AWS service are available options. Select AWS service as a target.
        2. From the Select a target dropdown list, select CloudWatch log group.
        3. For the New log group field, enter a name.
        4. Review your selection, and then select the Next button.This screenshot shows the third part of creating a rule.
      4. In the Configure tags step, complete the following substeps:
        Note

        This step is optional.
        1. If you want to add a tag, select the Add new tag, and then enter a Key and Value.
        2. If you want to remove a tag, select the Remove button.
      5. In the Review and create step, review the information you have entered. If you have any invalid step, return to the step and make the required changes. Once you completed your review, select the Create rule button to complete the process.
      6. Once the rule is created successfully, you will view the following message.This screenshot shows that the rule is created.
  5. From the AWS console, navigate to CloudWatch to monitor events.
  6. Select the Log groups from the Logs section. The section lists all available log groups. From the list, you can select the link located under the Log group to view the Log group details.
  7. From the Log group details page, select the Log streams to see the events which are published to the target. To see the details of log streams, select the link from the Log stream list.