[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Visualize log severity and error metrics\n\nThis document describes how to use the Logs Dashboard page to detect trends\nin the behavior of your systems, monitor your workloads, and diagnose and\nresolve problems by using the predefined dashboard or by creating a custom\ndashboard.\n\nTypes of dashboards\n-------------------\n\nThe **Logs Dashboard** page has two options for visualizing the performance\nof the resources in your Google Cloud project: the predefined dashboard and\na custom dashboard. The predefined dashboard is always available and is managed\nby Monitoring, but you can also customize this predefined\ndashboard.\n\n### Predefined dashboard\n\nThe predefined dashboard is automatically configured and only provides\ninformation for resources in your Google Cloud project that are producing\nlogs data.\n\nThe predefined dashboard is organized into a pair of charts for each of the\nfollowing resource types:\n\n- Google Kubernetes Engine\n\n- Compute Engine\n\n- App Engine\n\n- Cloud Load Balancing\n\n- Cloud SQL\n\n- BigQuery\n\nOne chart displays the number of logs and their severity types, such as\n`WARNING`. The other chart displays logs that contain errors. To get more\ninformation about severity types or error logs, hold your pointer over the\nchart.\n\nThe following screenshot is an example of the predefined dashboard:\n\n### Custom dashboard\n\nIf the content in the predefined dashboard doesn't contain the information you\nneed to help you troubleshoot, then consider creating a custom\ndashboard. [Custom dashboards](/monitoring/charts/dashboards) let you display\ninformation that is of interest to you, organized in a way that's useful to you.\nFor example, you might create a dashboard that displays the logs, metrics, and\nalerting policies for virtual machines (VM) in your production environment.\n\nCustom dashboards are managed by Cloud Monitoring, but you must create a\nnew custom dashboard to use in the **Logs Dashboard** page. The custom\ndashboard you create in the **Logs Dashboard** page is only accessible in\nCloud Logging. When you create a custom dashboard, the predefined dashboard\nis copied into the custom dashboard, so that you can delete unnecessary widgets\nand add missing content.\n\nView the predefined dashboard\n-----------------------------\n\nTo view the predefined dashboard, do the following:\n\n1. In the Google Cloud console, go to the **Logs Dashboard** page:\n\n [Go to **Logs Dashboard**](https://console.cloud.google.com/monitoring/dashboards/resourceList/logs)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n\n \u003cbr /\u003e\n\n | **Note:** Ensure that a project is selected. When a project isn't selected, the dashboard displays a loading-data spinner.\n\n \u003cbr /\u003e\n\n2. If the **Dashboard** menu is enabled, then select **Predefined**.\n\nCustomize the predefined dashboard\n----------------------------------\n\nYou can't modify the predefined dashboard. However, you can make a copy of\nthis dashboard, and then modify the copy.\n\nTo create a copy of the predefined dashboard, do the following:\n\n1. In the Google Cloud console, go to the **Logs Dashboard** page:\n\n [Go to **Logs Dashboard**](https://console.cloud.google.com/monitoring/dashboards/resourceList/logs)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Monitoring**.\n\n \u003cbr /\u003e\n\n | **Note:** Ensure that a project is selected. When a project isn't selected, the dashboard displays a loading-data spinner.\n\n \u003cbr /\u003e\n\n2. In the toolbar of the dashboard, select *edit* **Customize Dashboard** .\n\n A dashboard is created and displayed. The name of the dashboard is listed in the\n **Custom view name** text box. The toolbar also displays three buttons: **Add widget** ,\n **Exit Edit Mode** , and **Save**.\n3. Modify the dashboard by adding or removing widgets, by editing existing widgets, or by moving widgets.\n\n For example, to add a widget, click **Add widget** , complete the dialog, and then\n select **Apply**. For more information about adding widgets, see the following pages:\n - [Add charts and tables](/monitoring/charts#add_chart).\n - [Display alert charts and incidents](/monitoring/dashboards/alerts-and-incidents).\n - [Display logs](/monitoring/charts/view-logs).\n - [Add text and groupings](/monitoring/dashboards/text-and-grouping).\n4. After you complete your modifications, go to the toobar and click **Save**.\n\n To toggle between the predefined dashboard and your custom dashboard, use the\n menu in the toolbar.\n\nWhat's next\n-----------\n\n- For information about dashboards and how to select what information to\n display on a dashboard, see [Dashboards overview](/monitoring/dashboards).\n\n- For information about displaying project-scoped logs on your dashboards, see\n [Display logs on a custom dashboard](/monitoring/charts/view-logs)."]]