Find log entries with error groups Stay organized with collections Save and categorize content based on your preferences.
This document describes how to find, filter, and exclude log entries that arepart of error groups when using the Logs Explorer.Error groupshelp you identify trends and recurring problems in your environment by groupinglog entries that have errors by values suchas exception type, frames, or messages.
Find error group details for a log entry
To track recurring errors across your application and to manage their resolutionstatus, use theError Reporting page of the Google Cloud console.TheError Reporting page lists error groups, includinginformation about the specific type of error, the number of error occurrences,and the resolution status of each group.
Error Reporting automatically sets the value of theerror_groups ID field during the creation of an error group. The fieldcontains alphanumeric characters,- and_.
To query for a specific error group, do the following:
In the Google Cloud console, go to theError Reporting page:
You can also find this page by using the search bar.
- Click the error name.
- In theRecent samples panel, clickView Logs from any log entry toredirect you to theLogs Explorer page.
In theLogs Explorer, the query-editor field is populated with the
error_groupsID field. For example,errorGroups.id="CJqhkd7Qvsbj2QE".The list of log entries contributing to that error group is shown in theQuery results pane.
To query for log entries that belong to any error group and to find the errorgroup details, do the following:
In the Google Cloud console, go to theLogs Explorer page:
If you use the search bar to find this page, then select the result whose subheading isLogging.
To view log entries associated with any error group, enter the followingfilter into the query-editor field:
errorGroups.id:*In theQuery results pane, select a log entry that displays the
Error group button.Click the
Error group button andselectView error group details:For example, the following screenshot shows two log entries with aseverity level of at least error.One of these entries is annotated with the
Error group button. The following screenshot also illustrates theoptions available with this button:
After you selectView error group details, theError reportingpage opens and displays information about the error group.
You can also use the options in the
Error group button to change which log entries the Logs Explorerdisplays:
To investigate the error group in more detail, selectShow entries in this error group. Logs Explorer is refreshed anddisplays only those log entries in the same error group. You can now applyadditional query parameters to the error group's log entries.
To remove a specific error group from your query results,selectHide entries in this error group. Logs Explorer is refreshedand all log entries in this error group are hidden from the display.
Monitor error groups
You can configure Error Reporting to notify you when it detects anew error group. This service also lets you view the history of errors foreach error group and to manage those errors. For more information,see the following documents:
You can't create log-based metrics that count the number of log entries witherror groups or configure a log-based alert to notify you when a log entrycontains an error group. Similarly, you can't extract values from theerrorGroups field into a label attached to a log-based metric orlog-based alert.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-18 UTC.