Enabling Logs in Oracle Cloud Infrastructure Logging
Data Integration lets you use Oracle Cloud Infrastructure Logging to enable logging and retrieve service logs in the Console or from the CLI.
Public logs are available for the following types:
- Execution logs for different task runs including integration, data loader, REST, SQL, and pipeline task runs
- Create, edit, and delete data flow logs
Only administrative users can enable logging. Non-administrative users can only view log contents, and only after administrative users have enabled and set up logging, and given you access to logging groups and content.
Currently, Data Integration service logs are enabled at the workspace resource level using the DIS Workspace Logs
log category. For example, when logging is enabled and active, integration task runs associated with data flows in a specified Data Integration workspace have the logging feature turned on.
Resource logs are grouped in logical containers called log groups in Oracle Cloud Infrastructure Logging. Administrative users must create at least one log group.
Before you start using Oracle Cloud Infrastructure Logging:
-
Get familiar with basic concepts and terminology used in the OCI Logging service. See Logging Overview in the OCI Logging documentation.
-
Create a group to manage access to log groups and log content. See Managing Groups in the OCI IAM with Identity Domains documentation.
-
Add the policy to enable public logging for the Data Integration service.
Note
To restrict the enable permission to specific users, replace
any-user
with a specific user.ALLOW any-user TO {DIS_WORKSPACE_OBJECT_CREATE} in tenancy WHERE ALL {request.service.name = 'dataintegration', request.principal.type = 'service'}
-
Add the policies to allow you to use OCI Logging with the Data Integration service.
allow group <group-name> to manage log-groups in compartment <compartment-name> allow group <group-name> to manage log-content in compartment <compartment-name>
-
Ensure that you have the policies that are required to use OCI Logging. See Required Permissions for Working with Logs and Log Groups in the OCI Logging documentation.
-
In the OCI Logging service, create one or more log groups to organize and manage logs in logical containers. See Creating a Log Group in the OCI Logging documentation.