IBM Cloud Docs
Logging for Container Registry

Logging for Container Registry

IBM Cloud services, such as IBM Cloud® Container Registry, generate platform logs that you can use to investigate abnormal activity and critical actions in your account, and troubleshoot problems.

You can use IBM Cloud Logs Routing, which is a platform service, to route platform logs in your account to a destination of your choice by configuring a tenant that defines where platform logs are sent. For more information, see About Logs Routing.

You can use IBM Cloud Logs to visualize and alert on platform logs that are generated in your account and routed by IBM Cloud Logs Routing to an IBM Cloud Logs instance.

Locations where platform logs are generated

IBM Cloud Container Registry generates platform logs that are displayed in your logging instances. The following tables list the locations where the automatic collection of Container Registry service logs is enabled.

The automatic collection of Container Registry service logs in the Americas locations
Locations in Americas Are platform services logs available?
Dallas (us-south) Yes
Sao Paulo (br-sao) Yes
Toronto (ca-tor) Yes
The automatic collection of Container Registry service logs in the Asia-Pacific locations
Locations in Asia Pacific Are platform services logs available?
Osaka (jp-osa) Yes
Sydney (au-syd) Yes
Tokyo (jp-tok) Yes
The automatic collection of Container Registry service logs in the Europe locations
Locations in Europe Are platform services logs available?
Frankfurt (eu-de) Yes
London (eu-gb) Yes
Madrid (eu-es) Yes
The automatic collection of Container Registry service logs for Global
Location for Global Are platform services logs available?
Global Yes

For more information about where to see Container Registry service logs if you are using IBM Cloud Logs Routing, see Locations where logs are sent by IBM Cloud Logs Routing.

Locations where logs are sent by IBM Cloud Logs Routing

Container Registry sends logs by IBM Cloud Logs Routing in the regions that are indicated in the following table.

Regions where platform logs are sent in Americas locations
Dallas (us-south) Washington (us-east) Toronto (ca-tor) Sao Paulo (br-sao)
Yes Yes (global) Yes Yes
Regions where platform logs are sent in Asia-Pacific locations
Tokyo (jp-tok) Sydney (au-syd) Osaka (jp-osa)
Yes Yes Yes
Regions where platform logs are sent in Europe locations
Frankfurt (eu-de) London (eu-gb) Madrid (eu-es)
Yes Yes Yes

Platform logs that are generated

IBM Cloud Container Registry generates platform services logs that are displayed in your logging instances for the following specific cases:

  • When IBM Cloud Container Registry runs scheduled retention policies for namespaces in your account.
  • When IBM Cloud Container Registry calculates your account's registry traffic and average storage usage per hour for a region.

Viewing logs

Launching IBM Cloud Logs from the Observability page

For more information about launching the IBM Cloud Logs UI, see Launching the UI in the IBM Cloud Logs documentation.

Fields by log type

For information about fields included in every platform log, see Fields that are included in platform logs.

The following fields are included in the log record.

Log record fields
Field Type Description
logSourceCRN Required Defines the account and flow log instance where the log is published.
saveServiceCopy Required Defines whether IBM saves a copy of the record for operational purposes.
message Required Description of the log that is generated.