Enable Log Analytics

Flow Analyzer analyzes VPC Flow Logs data that is stored in a log bucket.

Before you begin

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  2. Make sure the project has a log bucket that contains VPC Flow Logs.

Upgrade the log bucket to use Log Analytics

Console

  1. In the Google Cloud console, go to the Flow Analyzer page.

    Go to Flow Analyzer

  2. Click Enable Flow Logs. The VPC networks page appears.

  3. To upgrade the chosen log bucket (that contains VPC Flow Logs) to use Flow Analyzer, click Upgrade. For more information, see Upgrade a bucket to use Log Analytics

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月24日 UTC.