Updated on 2024-04-18 GMT+08:00

Enabling or Disabling VPC Flow Log

Scenarios

After a VPC flow log is created, the VPC flow log is automatically enabled. If you do not need to record flow log data, you can disable the corresponding VPC flow log. A disabled VPC flow log can be enabled again.

Notes and Constraints

  • After a VPC flow log is enabled, the system starts to collect flow logs in the next log collection period.
  • After a VPC flow log is disabled, the system stops collecting flow logs in the next log collection period. Generated flow logs will still be reported.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  1. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  1. In the navigation pane on the left, choose VPC Flow Logs.
  2. Locate the VPC flow log to be enabled or disabled, and click Enable or Disable in the Operation column.
  3. Click Yes.