Wählen Sie ein vorhandenes Dataproc Metastore-Projekt aus. Google Cloud
Wählen Sie im Menü Ressourcen die Option Dataproc Metastore Service aus.
Wählen Sie im Menü Alle Logs den gewünschten Logtyp aus.
gcloud
Die Google Cloud CLI bietet die Befehlsgruppe gcloud logging, mit der über die Befehlszeile auf die Cloud Logging API zugegriffen werden kann. Führen Sie den folgenden Befehl aus, um Ihre Logeinträge zu lesen.
[[["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-27 (UTC)."],[[["\u003cp\u003eDataproc Metastore job logs can be viewed, searched, filtered, and archived in Cloud Logging.\u003c/p\u003e\n"],["\u003cp\u003eLogs can be accessed through the Logging console, the \u003ccode\u003egcloud logging\u003c/code\u003e command, or the Logging API.\u003c/p\u003e\n"],["\u003cp\u003eDataproc Metastore exports both request logs and system logs to Cloud Logging, which you can access using specific \u003ccode\u003elogName\u003c/code\u003e queries.\u003c/p\u003e\n"],["\u003cp\u003eCloud logging provides information on your costs, log retention, disabling all logs or exclude specific logs, and routing logs to Cloud Storage, BigQuery, or Pub/Sub.\u003c/p\u003e\n"],["\u003cp\u003eThe Google cloud console offers a user interface and the gcloud CLI offers command line interface to access the logs.\u003c/p\u003e\n"]]],[],null,["# Cloud Logging\n\nYou can view, search, filter, and archive Dataproc Metastore job logs\nin [Cloud Logging](/logging/docs).\n\n- See [Google Cloud Observability Pricing](/stackdriver/pricing) to understand your costs.\n\n- See [Logs retention periods](/logging/quotas#logs_retention_periods) for\n information on logging retention.\n\n- See [Logs Exclusions](/logging/docs/exclusions) to disable all logs or exclude\n logs from Logging.\n\n- See [Routing and storage overview](/logging/docs/routing/overview) to route\n logs from Logging to Cloud Storage,\n BigQuery, or Pub/Sub.\n\nAccess job logs in Logging\n--------------------------\n\nWhen you run Dataproc Metastore, a Hive metastore process output\nis streamed to the Google Cloud console.\n\nYou can access Logging using the\n[Logging console](https://console.cloud.google.com/logs/query),\nthe [gcloud logging](/sdk/gcloud/reference/logging) command, or\nthe [Logging API](/logging/docs/apis). \n\n### Console\n\n1. In the Google Cloud console, go to the\n **Cloud Logging \\\u003e Logs** (Logs Explorer) page:\n\n [Go to the Logs Explorer page](https://console.cloud.google.com/logs/query)\n2. Select an existing Dataproc Metastore Google Cloud project.\n\n3. Under the **Resources** menu, select `Dataproc Metastore Service`.\n\n4. Under the **All logs** menu, select the log type that you want to\n see.\n\n### gcloud\n\nThe Google Cloud CLI has a group of commands, `gcloud logging`, that provide a\ncommand-line interface to the Cloud Logging API. To read your log entries,\nrun the following command: \n\n```\ngcloud logging read \\\n 'resource.type=\"metastore.googleapis.com/Service\"\n resource.labels.location=LOCATION\n resource.labels.service_id=SERVICE_ID'\n```\n\n### REST\n\nFollow the Logging API instructions to list log entries\n([entries.list](/logging/docs/reference/v2/rest/v2/entries/list)) by using\nthe API Explorer.\n\nDataproc Metastore service logs in Logging\n------------------------------------------\n\nDataproc Metastore exports request and system logs to\nCloud Logging.\n\nWhats next\n----------\n\n- [Cloud Logging documentation](/logging/docs)"]]