Disable access logs for your Network Load Balancer
You can disable access logging for your load balancer at any time. After you disable access logging, your access logs remain in your S3 bucket until you delete the them. For more information, see Working with S3 buckets in the Amazon Simple Storage Service User Guide.
To disable access logging using the console
Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/
. -
In the navigation pane, choose Load Balancers.
-
Select the name of your load balancer to open its details page.
-
On the Attributes tab, choose Edit.
-
For Monitoring, turn off Access logs.
-
Choose Save changes.
To disable access logging using the Amazon CLI
Use the modify-load-balancer-attributes command.