IBM Cloud Docs
Why am I receiving a message that no data exists in my COS bucket?

Why am I receiving a message that no data exists in my COS bucket?

When using the IBM® Cloud Logs UI I'm seeing a message that no data exists in my COS bucket.

When using the All Logs view in the IBM Cloud Logs UI, the message Archive issue No data exists in your COS bucket for the given timeframe is displayed.

Data might exist in the IBM Cloud Object Storage (COS) bucket, but permissions to the bucket are configured incorrectly.

Check the bucket and permissions. If authorization is not properly configured, data is not uploaded to the bucket and is dropped.

  1. Use the IBM Cloud Object Storage UI to view the data bucket attached to your IBM Cloud Logs instance to determine if data exists in the bucket.

  2. Check that the correct permissions are set between IBM Cloud Logs and IBM Cloud Object Storage. For more information, see IAM Service to service authorization.

  3. Ensure that the user setting the permissions has the authorization to send logs between IBM Cloud Logs and IBM Cloud Object Storage.

    If you have the IAM permission to create policies and authorizations, you can grant only the level of access that you have as a user of the target service. For example, if you have viewer access for the target service, you can assign only the viewer role for the authorization. If you attempt to assign a higher permission such as administrator, it might appear that permission is granted, however, only the highest level permission you have for the target service, that is viewer, will be assigned.