Resuma as entradas de registro com a ajuda do Gemini
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Neste documento, descrevemos como usar o
Gemini Cloud Assist,
um produto importante do portfólio do Gemini para Google Cloud , para resumir uma
entrada de registro no Cloud Logging. Ao investigar um problema, os resumos de entrada de registro podem ajudar você a interpretar a atividade em um registro.
Esta documentação pressupõe que seu projeto Google Cloud já coleta os dados de registro que você quer analisar.
O Logging envia apenas o texto de uma entrada de registro para o Gemini Cloud Assist. Portanto, as respostas são baseadas apenas nesse texto e não incluem contexto de outras entradas de registro ou recursos no seu projeto doGoogle Cloud .
Para resumir uma entrada de registro, faça o seguinte:
No console Google Cloud , acesse a página Análise de registros.
Selecione a entrada de registro que você quer resumir.
Na barra de ferramentas da entrada de registro, clique em Explicar esta entrada de registro.
O Cloud Logging envia o texto da entrada de registro para o Gemini Cloud Assist com um comando para resumir o conteúdo da entrada.
O Gemini Cloud Assist responde com um resumo gerado no painel Gemini. O resumo é baseado apenas no texto da entrada de registro, sem contexto adicional.
[[["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-09-05 UTC."],[],[],null,["# Summarize log entries with Gemini assistance\n\nThis document describes how you can use\n[Gemini Cloud Assist](/gemini/docs/cloud-assist/overview),\na key product in the Gemini for Google Cloud portfolio, to summarize a\nlog entry in Cloud Logging. When you are investigating an issue, log entry\nsummaries can help you to interpret activity in a log.\n\nThis documentation assumes that your Google Cloud project already\n[collects the log data](/logging/docs/agent-or-library) that you want to explore.\n\nLearn [how and when Gemini\nfor Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\nBefore you begin\n----------------\n\n1. [Ensure that Gemini Cloud Assist is set up for your Google Cloud user account and project](/gemini/docs/cloud-assist/set-up-gemini).\n\n2. In the Google Cloud console, on the project selector page, select\n your Google Cloud project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n\nSummarize a log entry\n---------------------\n\n| As an early-stage technology, Gemini for Google Cloud\n| products can generate output that seems plausible but is factually incorrect. We recommend that you\n| validate all output from Gemini for Google Cloud products before you use it.\n| For more information, see\n| [Gemini for Google Cloud and responsible AI](/gemini/docs/discover/responsible-ai).\n\nLogging only sends the text of a log entry to\nGemini Cloud Assist, so responses are based only on that text\nand don't include context from other log entries or other resources in your\nGoogle Cloud project.\n\nTo summarize a log entry, do the following:\n\n1. In the Google Cloud console, go to the **Logs Explorer** page:\n\n [Go to **Logs Explorer**](https://console.cloud.google.com/logs/query)\n\n \u003cbr /\u003e\n\n If you use the search bar to find this page, then select the result whose subheading is\n **Logging**.\n2. Find the log entry that you want to review. To find a specific log entry,\n try the following:\n\n - Specify criteria that the log entries must match by selecting from the menus or by writing a [query](/logging/docs/view/building-queries).\n - Adjust the time range by using the time range picker.\n - Select the projects and log views that are searched for log data.\n\n The projects and log views in the default log scope are\n automatically searched for log data. However, you can\n [specify which projects and log views are searched](/logging/docs/view/logs-explorer-interface#refine_scope).\n3. Select the log entry that you want to summarize.\n\n4. In the toolbar for the log entry, click **Explain this log entry**.\n\n Cloud Logging sends the text of the log entry to\n Gemini Cloud Assist with a prompt to summarize the\n contents of the log entry.\n Gemini Cloud Assist responds with a generated summary in the\n **Gemini** pane. The summary is based only on the\n text of the log entry without any additional context.\n\nWhat's next\n-----------\n\n- Read [Gemini Cloud Assist overview](/gemini/docs/cloud-assist/overview).\n- Learn [how and when Gemini\n for Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\n- Learn about [querying and viewing log data](/logging/docs/log-analytics)."]]