This guide explains how Stackdriver Logging uses Stackdriver accounts. Stackdriver accounts are important for two reasons:
- They provide access to logs in Amazon Web Service (AWS) accounts.
- They permit the use of certain Stackdriver Logging features, including logs-based metrics.
One feature of Stackdriver accounts that is not used by Stackdriver Logging is the ability to monitor multiple Google Cloud Platform (GCP) projects and AWS accounts at the same time. You must view or export the logs from each project and AWS account individually.
Accessing AWS logs
To get logs from an AWS account, follow the instructions for Monitoring a single AWS account or Monitoring multiple projects. Each Amazon account is connected to GCP using an AWS connector project. You will find the logs from your Amazon account in the connector project, not in the Stackdriver account that contains the monitoring information.
You can find out the names of AWS connector projects in a Stackdriver account by visiting the Account settings page for the Stackdriver account:
Accessing GCP logs from a Stackdriver account
If a Stackdriver account is already monitoring multiple GCP projects, then you can find the monitoring information from those projects in the Stackdriver account. However, you must look in the individual projects for their logs—the monitored projects or hosting project in the Stackdriver account.
You can find out which GCP projects are being monitored by a Stackdriver account by visiting the Account settings page for the Stackdriver account: