En Cloud Logging, puedes ver los registros de ejecución de la integración que contienen detalles de la integración, como el estado, el rendimiento, la versión de integración, los parámetros de solicitud y respuesta, y las configuraciones del activador y la tarea. Para obtener más información sobre los registros de ejecución en Cloud Logging, consulta Registros de ejecución de integración en Cloud Logging. Para obtener información sobre las limitaciones y los precios, consulta Limitaciones y Precios.
De forma predeterminada, Cloud Logging está inhabilitado para las integraciones. Para habilitar el registro de una integración, edita la versión no publicada de la integración.
Antes de comenzar
Para almacenar registros de ejecución de la integración en Cloud Logging, primero debes habilitar Cloud Logging para tu integración. Para hacerlo, sigue estos pasos:
En la consola de Google Cloud , ve a la página Application Integration.
En el menú de navegación, haz clic en Integraciones.
Aparecerá la página Integraciones, en la que se enumeran todas las integraciones disponibles en el Google Cloud proyecto.
Selecciona una integración existente o crea una nueva para la que deseas habilitar Cloud Logging.
Esto abrirá la integración en la página del editor de integración.
Selecciona la versión DRAFT de tu integración. No puedes modificar la configuración de una versión publicada o no publicada que no esté en modo borrador. Para obtener una lista de las versiones de integración, consulta Versiones.
Haz clic en settings (Resumen de integración) en la barra de herramientas del diseñador. Aparecerá la página de resumen de la integración.
En Configuración de registro, haz clic en el botón de activación Habilitar Cloud Logging y, luego, en la lista Gravedad, selecciona el tipo de gravedad de los registros que deseas almacenar en Cloud Logging:
Info: Selecciona esta opción para capturar todos los estados de ejecución: SUCCEEDED, FAILED, PROCESSING, PENDING, SUSPENDED, RETRY_ON_HOLD y CANCELLED.
Error: Selecciona esta opción para capturar los siguientes estados de ejecución: FAILED y CANCELLED.
Advertencia: Selecciona esta opción para capturar los siguientes estados de ejecución: FAILED y CANCELLED.
Para obtener una lista de los estados de ejecución de la integración, consulta Estados de ejecución.
Haz clic en Guardar.
Ver registros
Para ver los registros en Cloud Logging, primero debes habilitar Cloud Logging y, luego, seguir estos pasos:
En la consola de Google Cloud , ve a la página Application Integration.
Para ver los registros de ejecución de la integración en Cloud Logging, usa uno de los siguientes métodos:
En el menú de navegación, haz clic en Registros y, luego, en Ver registros de Cloud.
En el menú de navegación, haz clic en Registros y, luego, en el campo Registros de Cloud, haz clic en Ver. Si Cloud Logging está habilitado, este campo proporciona un vínculo para ver los registros en Cloud Logging. Si Cloud Logging no está habilitado, este campo se establece en Inhabilitado.
En el editor de integración, después de probar una integración, en el panel Probar integración, haz clic en Ver registros de Cloud.
Aparecerá la página Explorador de registros. Los registros se muestran durante las últimas tres horas para la siguiente consulta predeterminada:
Para ver registros con un nombre de parámetro de solicitud específico. Por ejemplo, la siguiente consulta solicita registros para el parámetro requestUrl:
Los registros de integración en Cloud Logging están sujetos a las siguientes limitaciones:
Cloud Logging solo admite entradas de registro de hasta 256 KiB de tamaño. Si tus registros superan este límite, los parámetros de solicitud y respuesta no se muestran en los detalles de registro. Para obtener información sobre las cuotas y los límites de Cloud Logging, consulta Cuotas y límites. Para resolver este error, actualiza las variables de integración de modo que el valor no exceda el límite. Como alternativa, también puedes ver estos registros en Integración de aplicaciones.
Si el registro local está inhabilitado, los registros de ejecución no se envían a Cloud Logging, incluso si este servicio está habilitado.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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)."]]