关闭 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