Publish B2B Business and Wire Messages to the Oracle Cloud Infrastructure Logging Service

You can publish B2B business and wire messages to the Oracle Cloud Infrastructure logging service. This feature enables you to archive business messages, wire messages, and B2B payloads in your own tenancy beyond the retention period and analyze B2B data to provide more insights and build logging analytic dashboards.

The Oracle Cloud Infrastructure logging service supports collecting and managing the activity stream of integrations. B2B business and wire messages are just another stream of logging data that you can publish to the Oracle Cloud Infrastructure logging service.

Note:

To use the Oracle Cloud Infrastructure logging service, you must first create a log group in your service instance. See Capture the Activity Stream of Integrations in the Oracle Cloud Infrastructure Console in Provisioning and Administering Oracle Integration 3.

The following example provides an overview of how to log and view B2B business and wire messages data with the Oracle Cloud Infrastructure logging service.

  1. Run an integration.
  2. Copy the integration instance ID located at the top of the activity stream.


    The Activity stream title is shown with the instance ID for that run of the integration.

  3. In the navigation pane, click Observability, then B2B tracking.

    Note that business and wire messages have been created for this integration instance run. These message details that are also published to the Oracle Cloud Infrastructure logging service.

  4. Log in to the Oracle Cloud Infrastructure Console.
  5. Go to the details page for the log group you created, and click Explore log. If you are unsure about how to access this page, see Capture the Activity Stream of Integrations in the Oracle Cloud Infrastructure Console in Provisioning and Administering Oracle Integration 3.


    The details page for the log group is shown. Below the log group name are the Disable Log, Edit, Change Log Group, Add tags, and Delete buttons. Below this is the Log information tab, which includes values for the OCID, Compartment, Log Group, Created, Retention Period, Legacy Archival Logs, Status, Log Type, Service, Resource, and Log Category labels. Below this is the Explore Log section. The Explore Log link on the left is selected. The Sort and Filter by time drop-down lists are shown. An Actions drop-down list appears at the far right.

  6. Create a filter with the integration instance ID you copied in Step 2.


    The Search link on the Logging page is selected. Fields for Custom filters, Filter by time, and Select logs to search are shown. A Show Advanced Mode link is shown in the upper right. Below this is the More search options drop-down list.

  7. Scroll down to view the B2B business and wire messages.


    In the upper right is the Actions drop-down list. Below this is a table with columns for dateline, type, and data message is shown. At the far right is an Expand icon for each row in the table.

  8. Click View Message Details Open details icon to view message details.

    The following example shows the payload contents of a wire message.


    The JSON tab is selected. Below this are the parameters and their values in the wire message payload.