move elb docs to proper location Reviewed-by: OpenTelekomCloud Bot <None>
8.4 KiB
Access Logging
Access logs record HTTP and HTTPS requests made to load balancers, and these logs are stored in an OBS bucket. Only public network classic load balancers support access logging.
Before configuring access logging, ensure that you have created a load balancer and OBS bucket. For details, see "Creating a Bucket" in the Object Storage Service User Guide.
- Grant read and write permissions to the ELB administrator.
- Log in to the management console. On the Object Storage Service page, click the name of the destination bucket.
- In the navigation pane on the left, choose Permissions.
- On the displayed page, click Bucket ACLs.
- Click Add and set the parameters.
Table 1 Parameter description Parameter
Description
Example Value
Account
Specifies the account ID or account name of the ELB administrator.
N/A
Access to Bucket
Specifies the permissions to read data from or write data to an OBS bucket.
Read/Write
Access to ACL
Allows the authorized user to read or write the bucket ACL.
Read/Write
- Click Save.
- Associate the bucket with a load balancer.
- Locate the load balancer and click More in the Operation column.
- Select Configure Access Log.
- In the Configure Access Log dialog box, enable access logging.
- Select the associated OBS bucket and configure log information.Figure 1 Configure Access Log
Table 2 Parameter description Parameter
Description
Example Value
Enable Logging
Whether to enable access logging
N/A
Backup Interval (min)
Log backup interval in minutes, which is 60 minutes by default
60
OBS Bucket
Destination bucket with read and write permissions
obs01
Prefix
Log storage directory
If this field is left blank, logs will be saved to the root directory of the destination bucket.
log01