In Cloud Logging können Sie die Protokolle zur Integrationsausführung mit Integrationsdetails wie Status, Leistung, Integrationsversion, Anfrage- und Antwortparametern sowie Trigger- und Aufgabenkonfigurationen aufrufen. Weitere Informationen zu Ausführungslogs in Cloud Logging finden Sie unter Ausführungslogs der Integration in Cloud Logging. Informationen zu Einschränkungen und Preisen finden Sie unter Einschränkungen und Preise.
Cloud Logging ist für Integrationen standardmäßig deaktiviert. Sie können das Logging für eine Integration aktivieren, indem Sie die unveröffentlichte Version der Integration bearbeiten.
Hinweise
Wenn Sie Logs zur Ausführung von Integrationen in Cloud Logging speichern möchten, müssen Sie Cloud Logging zuerst für Ihre Integration aktivieren. Führen Sie dazu die folgenden Schritte aus:
Rufen Sie in der Google Cloud Console die Seite Application Integration auf.
Die Seite Integrationen wird angezeigt. Auf dieser Seite sind alle Integrationen aufgeführt, die im Google Cloud Projekt verfügbar sind.
Wählen Sie eine vorhandene Integration aus oder erstellen Sie eine neue Integration, für die Sie die Cloud-Protokollierung aktivieren möchten.
Dadurch wird die Integration auf der Seite Integrationseditor geöffnet.
Wählen Sie die DRAFT-Version Ihrer Integration aus. Die Einstellungen für eine veröffentlichte oder eine nicht veröffentlichte Version, die sich nicht im Entwurfsmodus befindet, können nicht geändert werden. Eine Liste der Integrationsversionen finden Sie unter Versionen.
Klicken Sie in der Symbolleiste des Designers auf settings (Integrationsübersicht). Die Seite mit der Integrationsübersicht wird angezeigt.
Klicken Sie in den Log-Einstellungen auf die Ein/Aus-Schaltfläche Cloud Logging aktivieren und wählen Sie dann in der Liste Schweregrad den Schweregrad der Protokolle aus, die Sie in Cloud Logging speichern möchten:
Informationen: Wählen Sie diese Option aus, um alle Ausführungsstatus zu erfassen: SUCCEEDED, FAILED, PROCESSING, PENDING, SUSPENDED, RETRY_ON_HOLD und CANCELLED.
Fehler: Wählen Sie diese Option aus, um die folgenden Ausführungsstatus zu erfassen: FAILED und CANCELLED.
Warnung: Wählen Sie diese Option aus, um die folgenden Ausführungsstatus zu erfassen: FAILED und CANCELLED.
Eine Liste der Ausführungsstatus von Integrationen finden Sie unter Ausführungsstatus.
Klicken Sie auf Speichern.
Logs ansehen
Wenn Sie Logs in Cloud Logging aufrufen möchten, müssen Sie zuerst Cloud Logging aktivieren und dann die folgenden Schritte ausführen:
Rufen Sie in der Google Cloud Console die Seite Application Integration auf.
Sie haben folgende Möglichkeiten, die Ausführungsprotokolle der Integration in Cloud Logging aufzurufen:
Klicken Sie im Navigationsmenü auf Protokolle und dann auf Cloud-Protokolle ansehen.
Klicken Sie im Navigationsmenü auf Protokolle und dann im Feld Cloud Logging auf Anzeigen. Wenn Cloud Logging aktiviert ist, enthält dieses Feld einen Link zum Aufrufen von Logs in Cloud Logging. Wenn Cloud Logging nicht aktiviert ist, wird dieses Feld auf Deaktiviert gesetzt.
Nachdem Sie im Integrationseditor eine Integration getestet haben, klicken Sie im Bereich Integration testen auf Cloud-Protokolle ansehen.
Die Seite Log-Explorer wird angezeigt. Es werden Protokolle für die letzten drei Stunden für die folgende Standardabfrage angezeigt:
So rufen Sie Protokolle mit dem Namen einer bestimmten Anfrageparameter auf: Mit der folgenden Abfrage werden beispielsweise Protokolle für den Parameter requestUrl angefordert:
Für Integrationsprotokolle in Cloud Logging gelten die folgenden Einschränkungen:
Cloud Logging unterstützt nur Logeinträge mit einer Größe von bis zu 256 KiB. Wenn Ihre Protokolle dieses Limit überschreiten, werden die Anfrage- und Antwortparameter nicht in den Protokolldetails angezeigt. Informationen zu den Kontingenten und Limits von Cloud Logging finden Sie unter Kontingente und Limits. Um diesen Fehler zu beheben, aktualisieren Sie die Integrationsvariablen so, dass der Wert das Limit nicht überschreitet. Alternativ können Sie sich diese Logs auch in der Anwendungsintegration ansehen.
Wenn das lokale Logging deaktiviert ist, werden die Ausführungsprotokolle nicht an Cloud Logging gesendet, auch wenn Cloud Logging aktiviert ist.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-03 (UTC)."],[[["\u003cp\u003eCloud Logging, when enabled, allows you to view integration execution logs, including details on status, performance, version, request/response parameters, and configurations.\u003c/p\u003e\n"],["\u003cp\u003eTo enable Cloud Logging for an integration, you need to access the integration settings in the draft version and toggle the "Enable Cloud Logging" option, selecting a severity level (Info, Error, or Warning).\u003c/p\u003e\n"],["\u003cp\u003eLogs can be accessed through the Application Integration page in the Google Cloud console, either through the Logs section or directly from the integration editor after testing.\u003c/p\u003e\n"],["\u003cp\u003eSpecific logs can be viewed by using queries based on execution ID, integration name, or status (e.g., failed executions), and parameters.\u003c/p\u003e\n"],["\u003cp\u003eThere are limitations to consider when using Cloud Logging, such as a maximum log entry size of 256 KiB and the requirement for local logging to be enabled for Cloud Logging to receive the execution logs.\u003c/p\u003e\n"]]],[],null,["# View logs in Cloud Logging\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nView logs in Cloud Logging\n==========================\n\nIn Cloud Logging, you can view the Integration execution logs containing integration details, such as status, performance, integration version, request and response parameters, and the trigger and task configurations. For more information about execution logs in Cloud Logging, see [Integration execution logs in Cloud Logging](/application-integration/docs/introduction-logs#cloud-logs). For information about limitations and pricing, see [Limitations](#limitations) and [Pricing](#pricing).\n\nBy default, Cloud Logging is disabled for integrations. You can [enable\nlogging for an integration](#before-you-begin) by editing the unpublished version of the integration.\n\nBefore you begin\n----------------\n\nTo store integration execution logs in Cloud Logging, you must first enable Cloud Logging for your integration. To do so, follow these steps:\n\n1. In the Google Cloud console, go to the **Application Integration** page.\n\n [Go to Application Integration](https://console.cloud.google.com/integrations)\n2. In the navigation menu, click **Integrations** .\n\n The **Integrations** page appears listing all the integrations available in the Google Cloud project.\n3. Select an existing integration or [create a new integration](/application-integration/docs/create-integrations) for which you want to enable Cloud Logging.\n\n This opens the integration in the *integration editor*.\n4. Select the `DRAFT` version of your integration. You can't modify the settings for a published or an unpublished version that isn't in the draft mode. For a list of integration versions, see [Versions](/application-integration/docs/integration-versions).\n5. Click settings (**Integration summary**) in the designer toolbar. The integration summary page appears.\n 1. In the **Log settings** , click the **Enable Cloud Logging** toggle and then from the **Severity** list, select the severity type of the logs that you want to store in Cloud Logging:\n - **Info** : Select this option to capture all execution statuses: `SUCCEEDED`, `FAILED`, `PROCESSING`, `PENDING`, `SUSPENDED`, `RETRY_ON_HOLD`, and `CANCELLED`.\n - **Error** : Select this option to capture the following execution statuses: `FAILED` and `CANCELLED`.\n - **Warning** : Select this option to capture the following execution statuses: `FAILED` and `CANCELLED`. **Note:** Currently, both **Error** and **Warning** severity levels capture `FAILED` and `CANCELLED` execution states.\n - For a list of integration execution states, see [Execution states](/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions#state).\n 2. Click **Save**.\n\nView logs\n---------\n\nTo view logs in Cloud Logging, you must first [enable Cloud Logging](/application-integration/docs/before-you-begin) and then follow these steps:\n\n1. In the Google Cloud console, go to the **Application Integration** page.\n\n [Go to Application Integration](https://console.cloud.google.com/integrations)\n2. To view the integration execution logs in Cloud Logging, use one of the following methods:\n - In the navigation menu, click **Logs** , and then, click **View Cloud Logs**.\n - In the navigation menu, click **Logs** , and then in the **Cloud Logging** field, click **View** . If Cloud Logging is enabled, this field provides a link to view logs in Cloud Logging. If Cloud Logging is not enabled, this field is set to **Disabled**.\n - In the Integration editor, after you [test an integration](/application-integration/docs/test-publish-integrations), in the **Test integration** pane, click **View Cloud Logs**.\n\n The **Logs Explorer** page appears. Logs are displayed for the last three hours for the following default query: \n\n ```\n resource.type=integrations.googleapis.com/IntegrationVersion\n ```\n3. To understand the log format of [Application Integration logs](/logging/docs/api/platform-logs#application_integration), see the [`log_entries` payload](https://github.com/googleapis/googleapis/blob/master/google/cloud/integrations/v1alpha/log_entries.proto).\n\nSample queries\n--------------\n\nYou can use the following queries to view logs in Cloud Logging:\n\n- To view all integration execution logs:\n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n \n ```\n- You can view integration execution logs for a specific execution ID:\n\n - Searches only the parents executions with the given execution ID: \n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n jsonPayload.executionId=\"EXECUTION_ID\u003cvar translate=\"no\"\u003e\"\n \u003c/var\u003e\n ```\n - Searches for both parent and child executions launched from the given execution ID: \n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n \"EXECUTION_ID\u003cvar translate=\"no\"\u003e\"\n \u003c/var\u003e\n ```\n- To view integration execution logs for a specific integration:\n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\" \n \"INTEGRATION_NAME\"\n ```\n Or \n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n jsonPayload.integration=\"INTEGRATION_NAME\u003cvar translate=\"no\"\u003e\"\n \u003c/var\u003e\n ```\n- To view failed integration executions for a specific integration:\n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n jsonPayload.integrationExecutionDetails.integrationExecutionState=\"FAILED\"\n jsonPayload.integration=\"INTEGRATION_NAME\u003cvar translate=\"no\"\u003e\"\n \u003c/var\u003e\n ```\n- To view logs with specific request param name. For example, the following query requests logs for the `requestUrl` parameter:\n\n ```\n resource.type=\"integrations.googleapis.com/IntegrationVersion\"\n \"requestUrl\"\n ```\n- For more sample queries, see [Cloud Logging sample queries](/logging/docs/view/query-library).\n\n\u003cbr /\u003e\n\nLimitations\n-----------\n\nIntegration logs in Cloud Logging are subject to the following limitations:\n\n- Cloud Logging only supports log entries that are up to 256 KiB in size. If your logs exceed this limit, the request and response parameters are not shown in the logging details. For information about Cloud Logging quotas and limits, see [Quotas and limits](/logging/quotas). To resolve this error, update the integration variables so that the value doesn't exceed the limit. Alternatively, you can also [view these logs in Application Integration](/application-integration/docs/integration-execution-logs).\n- If [local logging](/application-integration/docs/local-logging) is disabled, the execution logs are not sent to Cloud Logging even if Cloud Logging is enabled.\n\nPricing\n-------\n\nFor information about pricing for Cloud Logging, see [Cloud Logging pricing](/stackdriver/pricing#logging-costs).\n\nWhat's next\n-----------\n\n- Learn about [execution logs in Cloud Logging](/application-integration/docs/introduction-logs#cloud-logs).\n- Learn how to [query and view logs](/logging/docs/log-analytics).\n- Learn about [log based metrics](/logging/docs/logs-based-metrics).\n- Learn how logs are stored, routed and how you can [export to different destinations](/logging/docs/routing/overview).\n- Learn how to [create alerts on log-based metrics](/logging/docs/logs-based-metrics/charts-and-alerts)."]]