[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[],[],null,["# Troubleshoot secure gateway issues\n\nThis document provides information about how to use Google Cloud access logs\nto resolve common issues with secure gateways.\n\nGoogle Cloud access logs are a valuable tool for diagnosing problems.\nYou can view the access logs in the\n[Logs Explorer](https://console.cloud.google.com/logs/query). To view logs for\ntroubleshooting secure gateway problems,\n[configure Data Access audit logs for the `BeyondCorp Enterprise API`](/logging/docs/audit/configure-data-access#config-console).\n\nEnd user access\n---------------\n\nGoogle Cloud access logs provide valuable insights into user access patterns\nand can help you troubleshoot access denial errors. These logs record both\nsuccessful and denied access attempts, offering a comprehensive view of user\ninteractions with your applications. In cases of denied access, the logs include\ndetailed information about the reasons for denial, such as the specific access\nlevels that were not met.\n\nThe logs also contain metadata, such as timestamps, user identities, and\nresource details, providing further context for analysis and troubleshooting.\nTo filter the logs relevant to secure gateway access, use the following\nfilter: \n\n resource.type=\"audited_resource\"\n resource.labels.method=\"AuthorizeUser\"\n resource.labels.service=\"beyondcorp.googleapis.com\"\n\nSecurity gateway resource issues\n--------------------------------\n\nIf you encounter issues while managing secure gateway resources, such as\nduring creation, updating, or deletion, you can view the logs relevant to\nsecure gateway resource management by using the following filter: \n\n resource.type=\"audited_resource\"\n resource.labels.service=\"beyondcorp.googleapis.com\""]]