This guide shows you how to filter and view errors with the Error Reporting console.
Get started
To see the errors for the services and apps in your Google Cloud project, go to Error Reporting in the Google Cloud console:
The Error Reporting dashboard displays a summary of each error found and the number of occurrences of each error. When Auto reload is turned on, Error Reporting automatically reloads the error list every 10 seconds.
Errors are grouped and de-duplicated by analyzing their stack traces. Error Reporting recognizes the common frameworks used for your language and groups errors accordingly. For more information, see How errors are grouped.
Each error entry provides a summary that helps you determine when the application started to produce the error, how often it occurred, and how recently it occurred.
Error Reporting samples up to 1,000 errors per hour. When this limit is reached, the displayed counts are estimated. If too many events are received for the whole day, Error Reporting can sample up to 100 errors per hour and continue to extrapolate the counts.
You can filter, sort, and view additional details about errors, as well as restrict the errors that appear in the list to a specific time range.
Error Reporting list
If you apply a text filter to the Error Reporting list, then the each error group's table row displays both the total number of errors in that group and the number of errors that matched the text filter.
The following information is provided for each reported error:
Column | Description |
---|---|
Resolution Status | A workflow status assigned at the error-group level. Status options are: Open, Acknowledged, Resolved, and Muted. You can change resolution status from the list page. |
Occurrences | The number of times this error has occurred in the selected time range. |
Users | The number of users affected by this error in the selected time range. The column is hidden if no user information is available. |
Error | Provides the error information, as extracted from the error's stack trace. The error message and its code location are displayed. If your code is available in Cloud Source Repositories, clicking the code location brings you to your source. |
Seen in | Lists the service and version in which the error is occurring. |
First seen | The time at which this error first appeared. |
Last seen | The time at which this error last occurred. |
Response Code | The HTTP status code returned with this error. |
View error details
To view detailed information about an error group, click any entry that appears in the Error Reporting list to show the Error Details page:
On this page you can examine information about the error group, including the history of a specific error, specific error instances, and diagnostic information contained in samples for the error.
Sample errors are found in the Recent samples panel. Each sample represents one occurrence of the error and includes a parsed stack trace.
View associated log entries
To view the log entry associated with a sample error, click View logs from any entry in the Recent samples panel. This takes you to the Logs Explorer in the Cloud Logging console.
You see that the search-query box is pre-populated with the filter for the current error group and, below that, the list of log entries contributing to that error group:
Note that the error_group
filter works only in the Logs Explorer; it doesn't
apply, for instance, when creating log export sinks or metrics.
When a log entry is part of an error group, Logs Explorer displays the error
group button . Click the button to access grouping
details or to change which log entries are shown. For more information,
see Find log entries with error groups.
For more information on using the console to view these logs, see Using the Logs Explorer.
Filter and sort errors
Filter, sort, and restrict the types of error groups that appear in the list page or details pages. There are several ways to filter your errors from these pages.
Select time range
The time-range menu lets you restrict the error groups that you see to the previous 1 hour, 6 hours, 1 day, 7 days, or 30 days.
Sort errors
From the Error Reporting list column headers, you can sort the following information:
- Occurrences: Sorting on this column lets you see the most frequently occurring errors.
- First seen: Sorting on this column helps you find the newest errors.
- Last seen: Sorting on this column helps you see which errors are still occurring. You can also reverse sort to see which errors have stopped.
Text matching
Use the Filter errors text field to filter the list of displayed errors. This field performs a text match on the Error information, the HTTP Response Code, the exception stack, and the following attributes:
- Request URL
- Report location (that is, the location where the error was logged)
- HTTP method
On the Error Reporting list page, the bar graph under the Occurrences column updates to show filtered results in blue, versus the non-filtered total in grey:
You can view the bar graph, in detail, on the Error Details page in the Errors section.
Actions
Following are other actions to help you view and filter your errors:
- Link to issue: Clicking this button will allow you to add an issue tracker link to this error group.
- View issue: Clicking this button will take you to the linked issue tracker page for this error group. If you need to remove an issue tracker link, you can do this on the error details page.
- Auto reload: Reloads the list every 10 seconds.