Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 2.37 KB

configure-data-bucket.md

File metadata and controls

63 lines (35 loc) · 2.37 KB
copyright lastupdated keywords subcollection
years
2024
2024-11-06
cloud-logs

{{site.data.keyword.attribute-definition-list}}

Configuring the data bucket for a {{site.data.keyword.logs_full_notm}} instance

{: #configure-data-bucket}

Configure a bucket in {{site.data.keyword.cos_full_notm}} to store your {{site.data.keyword.logs_full_notm}} data for long term storage and search. {: shortdesc}

Prereqs

{: #configure-data-bucket-prereqs}

  • You must have a {{site.data.keyword.cos_full_notm}} instance in the same account where your {{site.data.keyword.logs_full_notm}} instance is provisioned.
  • You must have permissions to create a bucket in the {{site.data.keyword.cos_full_notm}} instance or have the details of an existing bucket.

{{_include-segments/data-bucket-restrictions.md}}

Configure an IAM Service to service authorization

{: #configure-data-bucket-s2s} {: step}

You must define a service to service (S2S) authorization between {{site.data.keyword.logs_full_notm}} and {{site.data.keyword.cos_full_notm}} to allow {{site.data.keyword.logs_full_notm}} to read and write data into the data bucket. For more information, see Creating a S2S authorization to grant access to a bucket.

Configure the data bucket

{: #configure-data-bucket-attach} {: step}

Complete the following steps to configure a data bucket for a {{site.data.keyword.logs_full_notm}} instance:

  1. Log in to your {{site.data.keyword.cloud_notm}} account{: external}.

    After you log in with your user ID and password, the {{site.data.keyword.cloud_notm}} dashboard opens.

  2. Click the Menu icon Menu icon > Observability.

  3. Select Logging > Instances. You might need to click the Cloud Logs tab to see your {{site.data.keyword.logs_full_notm}} instances.

  4. Select the instance to which you want to configure a data bucket.

  5. In the Storage section, select Edit.

  6. In the Logs data section, configure the Bucket CRN, and the Bucket endpoint.

    Select Insert CRN from search to get the list of buckets in your account. You can choose a CRN from the list.

    Select View endpoints in docs to find the endpoints per location. Choose the endpoint based on your bucket configuration.

  7. Click Save to save the configuration.