Selecione um projeto do Dataproc Metastore Google Cloud .
No menu Recursos, selecione Dataproc Metastore Service.
No menu Todos os registros, selecione o tipo de registro que você quer ver.
gcloud
A Google Cloud CLI tem um grupo de comandos, gcloud logging, que fornece uma
interface de linha de comando para a API Cloud Logging. Para ler suas entradas de registro, execute o seguinte comando:
[[["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-02 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)"]]