All Products
Search
Document Center

ApsaraMQ for Kafka:Message log management

Last Updated:Oct 28, 2024

You can use the message log management feature provided by ApsaraMQ for Confluent to push the message logs of ApsaraMQ for Confluent instances to Simple Log Service. You can enable the feature to query the logs of all requests on a client.

Prerequisites

Usage notes

  • If you delete the created Simple Log Service project or Logstore or revoke the permissions on ApsaraMQ for Confluent, logs cannot be pushed as expected.

  • You can configure a logging bucket for each ApsaraMQ for Confluent instance. By default, logging buckets are not configured.

  • After the message logs of ApsaraMQ for Confluent are pushed to Simple Log Service, you are charged for items such as storage space, traffic, and the number of requests in Simple Log Service. For more information, see Billable items of pay-by-feature.

Procedure

Configure a logging bucket for the ApsaraMQ for Confluent instance that you created to push logs to Simple Log Service.

  1. Log on to the ApsaraMQ for Confluent console. In the left-side navigation pane, click Instances.

  2. In the top navigation bar, select the region where the instance that you want to manage resides. On the Instances page, click the name of the instance that you want to manage.

  3. In the left-side navigation pane, click Log Management.

  4. (Optional) In the ApsaraMQ for Kafka Service-Linked Role dialog box, click OK.

    If ApsaraMQ for Confluent is authorized to access cloud resources, skip this step.image

  5. On the Log Management page, select the project to which you want to push message logs from the Project Name drop-down list, select the Logstore to which you want to push message logs from the Logstore drop-down list, and then click Enable.image

What to do next

You can log on to the Simple Log Service console to query and analyze logs. For more information, see Query and analyze logs.