Logeinträge mit Gemini-Unterstützung zusammenfassen
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument wird beschrieben, wie Sie Gemini Cloud Assist, ein wichtiges Produkt im Gemini für Google Cloud -Portfolio, verwenden können, um einen Logeintrag in Cloud Logging zusammenzufassen. Wenn Sie ein Problem untersuchen, können Sie mithilfe von Zusammenfassungen von Logeinträgen Aktivitäten in einem Log interpretieren.
In dieser Dokumentation wird davon ausgegangen, dass in Ihrem Google Cloud Projekt bereits Logdaten erfasst werden, die Sie analysieren möchten.
Beim Logging wird nur der Text eines Logeintrags an Gemini Cloud Assist gesendet. Antworten basieren daher nur auf diesem Text und enthalten keinen Kontext aus anderen Logeinträgen oder anderen Ressourcen in IhremGoogle Cloud -Projekt.
So fassen Sie einen Logeintrag zusammen:
Rufen Sie in der Google Cloud Console die Seite Log-Explorer auf:
Wählen Sie den Logeintrag aus, den Sie zusammenfassen möchten.
Klicken Sie in der Symbolleiste für den Logeintrag auf Diesen Logeintrag erklären.
Cloud Logging sendet den Text des Logeintrags an Gemini Cloud Assist und fordert das Tool auf, den Inhalt des Logeintrags zusammenzufassen.
Gemini Cloud Assist antwortet mit einer generierten Zusammenfassung im Bereich Gemini. Die Zusammenfassung basiert nur auf dem Text des Logeintrags ohne zusätzlichen Kontext.
[[["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-08-18 (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)."]]