Capture the Activity Stream of Integrations in Oracle Cloud Infrastructure Console

You can use the public logging service capabilities of Oracle Cloud Infrastructure to collect and manage the activity stream (ics-flow log file) of integrations. When logging is enabled, a file called activity-stream-json.log that includes a subset of each line of messages in the ics-flow log file is created and pushed to Oracle Cloud Infrastructure for analysis.

See Service Logs.

By default, thirty days of activity stream, customer-facing logs can be persisted. Up to six months of data can be stored in the Oracle Cloud Infrastructure Console. There are additional ways to store data for longer periods of time such as using a service connector hub, in which the log can be sent to your object storage or outside of Oracle Cloud Infrastructure. You can also disable logging, as necessary.

The Oracle Cloud Infrastructure logging service provides a highly scalable and fully managed logging environment. See Logging Overview.

You can also still access the same activity stream details from the monitoring section of Oracle Integration. See View the Dashboard in Using Integrations in Oracle Integration.

The following steps describe how to create a log group and enable the log from the main logging service page in Oracle Cloud Infrastructure. If you want, you can also create a log group and enable the log from the Oracle Integration instance details page. Select Log in the left navigation pane, click the Enable Log icon in the table, and complete the fields in the dialog box that is displayed.

  1. Open the navigation menu and click Logging.
    The menu shows Home selected. To the right, is the Featured section, which includes the Logging option.

  2. Under Logging in the left navigation pane, click Log Groups.
  3. From the Compartment list, select the compartment to use.
  4. Click Create Log Group.
  5. Enter a log group name, optional description, tag, and click Create.
    The Create Log Group dialog shows the Compartment, Name, Description, Tag Namespace, Tag Key, and Value fields.

  6. Under Resources, click Logs.
  7. Click Enable service log.
    The Enable Resource Log dialog is displayed.
  8. Enter the following details.
    Field Description
    Resource Compartment Select a resource compartment if you want to change the one you previously selected.
    Service Select Integration (the identifier for Oracle Integration).
    Resource Select the Oracle Integration instance.
    Log Category Select Activity Stream.
    Log Name Enter a log name.

    The Enable Resource Log dialog shows the Resource Compartment, Service, Resource, Log Category, and Log Name fields. Below this are the Show Advanced Options link, Enable Log button, and Cancel button.

  9. Click Enable Log.
    The details page for the log is displayed. The Status field indicates that the log creation is in progress. Once log creation is complete and activated, you can perform tasks such as disabling the log (it is automatically enabled), editing the log name, changing the log group, adding tags, and deleting the log.
    Disable Log, Edit, Change Log Group, Add Tags, and Delete buttons appear at the top. Below are the Log Information (which is selected) and Tags tabs. Below are fields for OCID, Compartment, Log Group, Created, Retention Period, Legacy Archival Logs, Status, Log Type, Service, Log Category, and Resource. Below this is the Explore Log section with the Sort and Filter by name fields. The Explore with Log Search button is on the left. The Number of Log Events Per Minute is below. In the lower left navigation pane is the Resources section. Links for Explore Log and Metrics are below.

    You can also and take actions on your logs by creating rules to export your contents.

  10. In the Explore Log section, sort and filter logs by the time.
  11. Click Explore with Log Search to perform specific searches and analyze logs. See Searching Logs.