View a markdown version of this page

關閉 AWS Client VPN 連線記錄 - AWS Client VPN

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

關閉 AWS Client VPN 連線記錄

您可以使用主控台或命令列關閉 Client VPN 端點的連線日誌記錄。當您關閉連線日誌記錄時,並不會刪除 CloudWatch Logs 中現有的連線日誌。

使用主控台關閉連線日誌記錄
  1. 在 https://console.aws.amazon.com/vpc/ 開啟 Amazon VPC 主控台。

  2. 在導覽窗格中,選擇 Client VPN Endpoints (Client VPN 端點)。

  3. 選取 Client VPN 端點,選擇 Actions (動作),然後選擇 Modify Client VPN Endpoint (修改 Client VPN 端點)。

  4. 在 Connection logging (連線日誌記錄) 下,關閉 Enable log details on client connections (啟用用戶端連線的日誌詳細資訊)。

  5. 選擇 Modify Client VPN Endpoint (修改 Client VPN 端點)。

使用 關閉連線記錄 AWS CLI

使用 modify-client-vpn-endpoint 命令,並指定 --connection-log-options 參數。請確定 Enabled 已設為 false。