No Cloud Logging, é possível conferir os registros de execução da integração que contêm detalhes, como status, desempenho, versão da integração, parâmetros de solicitação e resposta, além das configurações de gatilho e tarefa. Para mais informações sobre registros de execução no Cloud Logging, consulte Registros de execução de integração no Cloud Logging. Para informações sobre limitações e preços, consulte Limitações e Preços.
Para armazenar registros de execução de integração no Cloud Logging, primeiro é necessário ativar o Cloud Logging para a integração. Para fazer isso, siga estas etapas:
No console Google Cloud , acesse a página Integração de aplicativos.
A página Integrações aparece listando todas as integrações disponíveis no projeto Google Cloud .
Selecione uma integração ou crie uma para ativar o Cloud Logging.
Isso abre a integração na página do editor de integração.
Selecione a versão DRAFT da integração. Não é possível modificar as configurações de uma versão publicada ou não publicada que não esteja no modo de rascunho. Para conferir uma lista de versões de integração, consulte Versões.
Clique em settings (Resumo da integração) na barra de ferramentas do designer. A página de resumo da integração vai aparecer.
Em Configurações de registro, clique no botão Ativar o Cloud Logging e, na lista Gravidade, selecione o tipo de gravidade dos registros que você quer armazenar no Cloud Logging:
Informações: selecione essa opção para capturar todos os status de execução: SUCCEEDED, FAILED, PROCESSING, PENDING, SUSPENDED, RETRY_ON_HOLD e CANCELLED.
Erro: selecione essa opção para capturar os seguintes status de execução: FAILED e CANCELLED.
Aviso: selecione essa opção para capturar os seguintes status de execução: FAILED e CANCELLED.
Para conferir uma lista de estados de execução de integração, consulte Estados de execução.
Clique em Salvar.
Ver registros
Para conferir os registros no Cloud Logging, primeiro ative o Cloud Logging e siga estas etapas:
No console Google Cloud , acesse a página Integração de aplicativos.
Para conferir os registros de execução da integração no Cloud Logging, use um destes métodos:
No menu de navegação, clique em Registros e em Ver registros do Cloud.
No menu de navegação, clique em Registros e, no campo Cloud Logging, clique em Visualizar. Se o Cloud Logging estiver ativado, este campo fornecerá um link para visualizar os registros no Cloud Logging. Se o Cloud Logging não estiver ativado, este campo será definido como Desativado.
No editor de integração, depois de testar uma integração, clique em Exibir registros do Cloud no painel Testar integração.
A página Análise de registros é exibida. Os registros das últimas três horas são mostrados para a seguinte consulta padrão:
Para conferir os registros com o nome do parâmetro de solicitação específico. Por exemplo, a consulta a seguir solicita registros para o parâmetro requestUrl:
Os registros de integração no Cloud Logging estão sujeitos às seguintes limitações:
O Cloud Logging só oferece suporte a entradas de registro de até 256 KiB. Se os registros excederem esse limite, os parâmetros de solicitação e resposta não serão mostrados nos detalhes de registro. Para informações sobre cotas e limites do Cloud Logging, consulte Cotas e limites. Para resolver esse erro, atualize as variáveis de integração para que o valor não exceda o limite. Você também pode acessar esses registros na integração de aplicativos.
Se a geração de registros locais estiver desativada, os registros de execução não serão enviados para o Cloud Logging, mesmo que ele esteja ativado.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-25 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)."]]