Details for Connector Hub

Review details of service logs for Connector Hub.

Resources

Log Categories

API value (ID) Console (Display Name) Description
runlog Connector Tracking Information about a service connector run, indicating success or failure.

Availability

Connector Hub logging is available in all the regions of the commercial realms.

Contents of a Connector Hub Log

Property Description
logContent/data/log Log level. Available values:
  • INFO
  • ERROR
logContent/data/message Summary of the log event.
logContent/data/messageType Type of log message. Available values:
  • CONNECTOR_RUN_STARTED
  • CONNECTOR_RUN_COMPLETED
logContent/oracle/compartmentOCID Compartment that the service connector belongs to.
logContent/oracle/connectorId OCID of the service connector.

See also Logging Format Overview.

Example Success Log

{
  "datetime": 1690935026859,
  "logContent": {
    "data": {
      "level": "INFO",
      "message": "Run succeeded - Read 2 messages from source and wrote 2 messages to target",
      "messageType": "CONNECTOR_RUN_COMPLETED"
    },
    "id": "f83205ef-0bef-47d0-b6b2-362afc4a2e9a",
    "oracle": {
      "compartmentid": "ocid1.compartment.oc1..<unique_ID>",
      "ingestedtime": "2023-08-02T00:10:28.990Z",
      "loggroupid": "ocid1.loggroup.oc1.phx.<unique_ID>",
      "logid": "ocid1.log.oc1.phx.<unique_ID>",
      "resourceid": "ocid1.serviceconnector.oc1.phx.<unique_ID>",
      "tenantid": "ocid1.tenancy.oc1..<unique_ID>"
    },
    "source": "KP_SourceStream1_TargetStream1",
    "specversion": "1.0",
    "time": "2023-08-02T00:10:26.859Z",
    "type": "com.oraclecloud.sch.serviceconnector.runlog"
  },
  "regionId": "us-phoenix-1"
}

Example Error Log

{
  "datetime": 1690936656793,
  "logContent": {
    "data": {
      "level": "ERROR",
      "message": "Run failed due to Destination error, Error Code : 404 NotAuthorizedOrNotFound. For troubleshooting tips, see https://docs.oracle.com/iaas/Content/service-connector-hub/troubleshooting.htm.",
      "messageType": "CONNECTOR_RUN_COMPLETED"
    },
    "id": "cbe82e67-4fed-4a2e-91e8-582f6c881eba",
    "oracle": {
      "compartmentid": "ocid1.compartment.oc1..<unique_ID>",
      "ingestedtime": "2023-08-02T00:37:42.973Z",
      "loggroupid": "ocid1.loggroup.oc1.phx.<unique_ID>",
      "logid": "ocid1.log.oc1.phx.<unique_ID>",
      "resourceid": "ocid1.serviceconnector.oc1.phx.<unique_ID>",
      "tenantid": "ocid1.tenancy.oc1..<unique_ID>"
    },
    "source": "KP_SourceStream1_TargetStream1",
    "specversion": "1.0",
    "time": "2023-08-02T00:37:36.793Z",
    "type": "com.oraclecloud.sch.serviceconnector.runlog"
  },
  "regionId": "us-phoenix-1"
}

What's Next