Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dokumen ini menjelaskan cara menggunakan
Gemini Cloud Assist,
produk utama dalam portofolio Gemini for Google Cloud , untuk meringkas
entri log di Cloud Logging. Saat Anda menyelidiki masalah, ringkasan entri log dapat membantu Anda menafsirkan aktivitas dalam log.
Dokumentasi ini mengasumsikan bahwa project Google Cloud Anda sudahmengumpulkan data log yang ingin Anda pelajari.
Logging hanya mengirimkan teks entri log ke Gemini Cloud Assist, sehingga respons hanya didasarkan pada teks tersebut dan tidak menyertakan konteks dari entri log lain atau resource lain di project Anda.Google Cloud
Untuk meringkas entri log, lakukan langkah-langkah berikut:
Di konsol Google Cloud , buka halaman Logs Explorer:
Di toolbar untuk entri log, klik Explain this log entry.
Cloud Logging mengirimkan teks entri log ke Gemini Cloud Assist dengan perintah untuk meringkas isi entri log.
Gemini Cloud Assist merespons dengan ringkasan yang dibuat di panel
Gemini. Ringkasan hanya didasarkan pada
teks entri log tanpa konteks tambahan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 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)."]]