Cloud Logging
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Fleet Engine 提供 API 要求和回應酬載的基本記錄服務。您可以運用這些記錄分析、監控及偵錯應用程式。如要瞭解 Fleet Engine 的詳細資訊,請參閱「什麼是 Fleet Engine 服務?」。
Fleet Engine 會將服務專屬記錄傳送至 Cloud Logging,因此您可以使用 Google Cloud 控制台的記錄檔探索工具、Cloud Logging API 或指令列指令存取及分析這些記錄。以下清單說明 Cloud Logging 的這些重要面向。
Fleet Engine 記錄
Fleet Engine 會將下列資訊傳送至 Cloud Logging:
如需所有可用的記錄訊息和結構定義清單,請參閱隨選行程的 Fleet Engine API 記錄整合參考資料,以及預定工作的 Fleet Engine API 記錄整合參考資料。
後續步驟
如要開始使用 Cloud Logging,請參閱「設定 Cloud Logging」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\u003cp\u003eFleet Engine automatically logs API requests, responses, and errors, including those from the Driver SDK, to Cloud Logging for analysis and debugging.\u003c/p\u003e\n"],["\u003cp\u003eYou can access and analyze Fleet Engine logs using the Google Cloud Console Logs Explorer, the Cloud Logging API, or the Google Cloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eCloud Logging offers features for storing, searching, analyzing, monitoring, and alerting on log data, providing insights into your Fleet Engine application's activity.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive logging details, including available log messages and schema, can be found in the Fleet Engine API Logging Integration Reference for on-demand and scheduled tasks.\u003c/p\u003e\n"]]],["Fleet Engine provides logs of API requests and responses to Cloud Logging for analysis, monitoring, and debugging. Cloud Logging offers storage, search, analysis, and monitoring of log data via the Logs Explorer, Cloud Logging API, or Google Cloud CLI. Fleet Engine logs include authenticated REST/gRPC requests/responses, error responses, and Driver SDK interactions. Cloud Logging has usage limits and costs. For more information about log messages and schema, see the specific Fleet Engine API Logging Integration Reference pages. To begin, configure Cloud Logging.\n"],null,["# Cloud Logging\n\nFleet Engine offers a basic logging service for its API requests and\nresponse payloads. You can use these logs to analyze, monitor, and debug your\napplications. For details about Fleet Engine, see [What is the Fleet\nEngine service?](/maps/documentation/mobility/fleet-engine/essentials).\n\nFleet Engine sends service-specific logs to Cloud Logging, so\nthat you can use the Google Cloud console Logs Explorer, the\nCloud Logging API, or command-line commands to access and analyze them.\nThe following list describes these key aspects of Cloud Logging.\n\n- **Cloud Logging** is a managed service that lets you store, search,\n analyze, monitor, and alert on logging data and events from Google Cloud and\n other sources. For more information, see the [Cloud Logging\n documentation](https://cloud.google.com/logging/docs) and [Cloud platform logs](https://cloud.google.com/logging/docs/api/platform-logs) in\n the Cloud documentation.\n\n- **Logs Explorer** is a tool of the Google Cloud console that\n lets you retrieve, view, and analyze log entries. For details, see [View\n logs by using the Logs Explorer](https://cloud.google.com/logging/docs/view/logs-explorer-interface).\n\n- The **Cloud Logging API** lets you programmatically accomplish\n logging-related tasks, including reading and writing log entries and\n creating log-based metrics. To learn more, see [Cloud Logging API\n overview](https://cloud.google.com/logging/docs/reference/api-overview).\n\n- The **Google Cloud CLI** has a group of commands that provide a command-line\n interface to the Cloud Logging API. For details, see [Google Cloud\n Command Line Interface](https://cloud.google.com/cli) and [gcloud logging](https://cloud.google.com/sdk/gcloud/reference/logging)\n\n| **Note:** Cloud Logging has usage and retention limits. To understand how to manage your logging costs and avoid unexpected charges, see [Google Cloud\n| Observability pricing](https://cloud.google.com/stackdriver/pricing#logging-costs).\n\nFleet Engine logs\n-----------------\n\nFleet Engine sends the following information to\nCloud Logging:\n\n- All Authenticated REST and gRPC requests and responses.\n\n- Error responses.\n\n- Requests, responses, and error messages from calls initiated to\n Fleet Engine by the [Driver SDK](/maps/documentation/mobility/driver-sdk).\n\nFor a list of all available log messages and schema, see the [Fleet Engine API\nLogging Integration Reference for on-demand trips](/maps/documentation/mobility/operations/cloud-logging/reference/tasks/rest) and the [Fleet Engine API\nLogging Integration Reference for scheduled tasks](/maps/documentation/mobility/operations/cloud-logging/reference/trips/rest).\n\nWhat's next\n-----------\n\nTo get started with Cloud Logging, see [Set up\nCloud Logging](/maps/documentation/mobility/operations/cloud-logging/setup)."]]