The fine-grained monitoring feature allows you to collect monitoring data to Log Service as logs. This topic describes how to enable the fine-grained monitoring feature for an elastic IP address (EIP) in the Virtual Private Cloud (VPC) console.

Prerequisites

Procedure

Important Before you can use a RAM user to enable the fine-grained monitoring feature, you must grant the required permissions to the RAM user. For more information, see RAM user authorization.
  1. Log on to the VPC console.
  2. In the top navigation bar, select the region where the EIP resides.
  3. In the left-side navigation pane, choose Access to Internet > Internet Tool Kit.
  4. On the Internet Tool Kit page, click Fine-grained Monitoring.
  5. On the High Definition Traffic Monitor page, follow the on-screen instructions to complete authorization.
    After you complete the authorization, VPC assumes the AliyunVPCLogArchiveRole role to access Log Service resources. This operation is required only when you enable the fine-grained monitoring feature for the first time. You must complete the authorization by using your Alibaba Cloud account.
    Warning Do not revoke the permissions from the AliyunVPCLogArchiveRole role or delete the AliyunVPCLogArchiveRole role. Otherwise, the fine-grained monitoring data of the EIP cannot be sent to Log Service.
  6. On the High Definition Traffic Monitor page, find the EIP for which you want to enable the fine-grained monitoring feature and click Enable Fine-grained Monitoring in the Actions column.
  7. In the Log Settings panel, select the Log Service project and Logstore from the drop-down lists and click OK.
    You can select an existing project and an existing Logstore. You can also create a project and a Logstore.

Related operations

OperationDescription
View monitoring dataOn the High Definition Traffic Monitor page, find the EIP that you want to manage and click the Monitoring icon in the Monitor column. For more information, see View monitoring data.
Disable fine-grained monitoringOn the High Definition Traffic Monitor page, find the EIP that you want to manage and click Disable Fine-grained Monitoring in the Actions column. For more information, see Disable fine-grained monitoring.

What to do next

After EIP logs are collected to Log Service, you can query, analyze, download, ship, and transform the logs. You can also configure alert rules for the logs. For more information, see Common operations on logs of Alibaba Cloud services.