View Site Logs using Google Cloud Logs

You can view your site logs using Google Cloud Logs, an external monitoring tool that displays, analyzes, and stores your logs. With Google Cloud Logs, you can:

  • Stream, search, and analyze log data in real time.
  • Store log data in the cloud.
  • Trace, sort, and filter aggregated error data.

This article explains how to:

Connect to Google Cloud Logs

To connect your site logs to Google Cloud Logs:

  1. In the site dashboard, click Developer Tools > Logging Tools.

  2. In the Google Cloud Logs section, click Open. The Google Cloud Logs page opens.

  3. In the Google Cloud Logs page, click Connect. The Google Account Login page appears.

  4. Sign in to the Google account associated with your site.

Your site is now connected to Google Cloud Logs.

View your site logs using Google Cloud Logs

Reload your site and generate logs from its frontend or backend.

To view site logs using Google Cloud Logs:

  1. In your site dashboard, click Developer Tools > Logging Tools.

  2. In the Google Cloud Logs section, click Open. The Google Cloud Logs page appears.

  3. Click Open and sign in to a Google account associated with your site.

    Once logged in, the Google Cloud Logs Explorer page opens. It displays your site's logs and errors.

    Click any log to view its data.

    To better understand your site logs, learn about the site log object structure.

Disconnect Google Cloud Logs

To disconnect your site from Google Cloud Logs:

  1. In your site dashboard, click Developer Tools > Logging Tools.

  2. In the Google Cloud Logs section, click Open. The Google Cloud Logs page appears.

  3. On the top right of the page, click Disconnect.

  4. In the Disconnect from Google cloud Logs? popup, click Disconnect.

Your site is now disconnected from Google Cloud Logs.

Note: Disconnecting your site from Google Cloud Logs does not affect the data stored in your Google Cloud Logs account. You can reconnect your site to Google Cloud Logs at any time.

See also

Did this help?