July 2018
Intermediate to advanced
506 pages
16h 2m
English
Using the Cloud Console Log Viewer, we can perform customized log aggregation via the search-filter box. This method supports both simple text searches and more structured label-based searches. For text searches, simply provide any arbitrary query text. The logging search engine will comb all the properties of every log entry for the selected resources.
For example, we can view all logs associated with our desired App Engine by simply searching for that ID. First, list the current App Engine instances for the todos-frontend service::
gcloud app instances list --service todos-frontend
We can then grab the desired instance ID and enter that into the search-filter box. As a result, we'll see every log containing the instance ...