Stay organized with collections
Save and categorize content based on your preferences.
This document describes how to find, filter, and exclude log entries that are
part of error groups when using the Logs Explorer.
Error groups
help you identify trends and recurring problems in your environment by grouping
log entries that have errors by values such
as exception type, frames, or messages.
Find error group details for a log entry
To track recurring errors across your application and to manage their resolution
status, use the Error Reporting page of the Google Cloud console.
The Error Reporting page lists error groups, including
information 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 the
error_groups ID field during the creation of an error group. The field
contains alphanumeric characters, - and _.
To query for a specific error group, do the following:
In the Google Cloud console, go to the Error Reporting page:
If you use the search bar to find this page, then select the result whose subheading is
Logging.
To view log entries associated with any error group, enter the following
filter into the query-editor field:
errorGroups.id:*
In the Query results pane, select a log entry that displays the
Error group button.
Click the Error group button and
select View error group details:
For example, the following screenshot shows two log entries with a
severity level of at least error.
One of these entries is annotated with the Error group button. The following screenshot also illustrates the
options available with this button:
After you select View error group details, the Error reporting
page 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 Explorer
displays:
To investigate the error group in more detail, select
Show entries in this error group. Logs Explorer is refreshed and
displays only those log entries in the same error group. You can now apply
additional query parameters to the error group's log entries.
To remove a specific error group from your query results,
select Hide entries in this error group. Logs Explorer is refreshed
and 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 a
new error group. This service also lets you view the history of errors for
each 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 with
error groups or configure a log-based alert to notify you when a log entry
contains an error group. Similarly, you can't extract values from the
errorGroups field into a label attached to a log-based metric or
log-based alert.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Find log entries with error groups\n\nThis document describes how to find, filter, and exclude log entries that are\npart of error groups when using the Logs Explorer.\n[Error groups](/error-reporting/docs/grouping-errors)\nhelp you identify trends and recurring problems in your environment by grouping\nlog entries that have errors by values such\nas exception type, frames, or messages.\n\nFind error group details for a log entry\n----------------------------------------\n\nTo track recurring errors across your application and to manage their resolution\nstatus, use the **Error Reporting** page of the Google Cloud console.\nThe **Error Reporting** page lists error groups, including\ninformation about the specific type of error, the number of error occurrences,\nand the resolution status of each group.\n\nError Reporting automatically sets the value of the\n`error_groups` ID field during the creation of an error group. The field\ncontains alphanumeric characters, `-` and `_`.\n\nTo query for a specific error group, do the following:\n\n1. In the Google Cloud console, go to the **Error Reporting** page:\n\n [Go to **Error Reporting**](https://console.cloud.google.com/errors)\n\n \u003cbr /\u003e\n\n You can also find this page by using the search bar.\n2. Click the error name.\n3. In the **Recent samples** panel, click **View Logs** from any log entry to redirect you to the **Logs Explorer** page.\n4. In the **Logs Explorer** , the query-editor field is populated with the\n `error_groups` ID field. For example, `errorGroups.id=\"CJqhkd7Qvsbj2QE\"`.\n\n The list of log entries contributing to that error group is shown in the\n **Query results** pane.\n\nTo query for log entries that belong to any error group and to find the error\ngroup details, do the following:\n\n1. In the Google Cloud console, go to the **Logs Explorer** page:\n\n [Go to **Logs Explorer**](https://console.cloud.google.com/logs/query)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Logging**.\n2. To view log entries associated with any error group, enter the following\n filter into the query-editor field:\n\n errorGroups.id:*\n\n3. In the **Query results** pane, select a log entry that displays the\n **Error group** button.\n\n4. Click the **Error group** button and\n select **View error group details**:\n\n For example, the following screenshot shows two log entries with a\n severity level of at least error.\n One of these entries is annotated with the\n **Error group** button. The following screenshot also illustrates the\n options available with this button:\n\n After you select **View error group details** , the **Error reporting**\n page opens and displays information about the error group.\n\nYou can also use the options in the\n**Error group** button to change which log entries the Logs Explorer\ndisplays:\n\n- To investigate the error group in more detail, select\n **Show entries in this error group**. Logs Explorer is refreshed and\n displays only those log entries in the same error group. You can now apply\n additional query parameters to the error group's log entries.\n\n- To remove a specific error group from your query results,\n select **Hide entries in this error group**. Logs Explorer is refreshed\n and all log entries in this error group are hidden from the display.\n\nMonitor error groups\n--------------------\n\nYou can configure Error Reporting to notify you when it detects a\nnew error group. This service also lets you view the history of errors for\neach error group and to manage those errors. For more information,\nsee the following documents:\n\n- [Configure and manage notifications](/error-reporting/docs/notifications)\n- [View and filter errors](/error-reporting/docs/viewing-errors)\n\nYou can't create log-based metrics that count the number of log entries with\nerror groups or configure a log-based alert to notify you when a log entry\ncontains an error group. Similarly, you can't extract values from the\n`errorGroups` field into a label attached to a log-based metric or\nlog-based alert."]]