Overview
A large number of access logs are generated during the access Object Storage Service (OSS). This topic describes how to use the log transfer feature to query the access and operation records of objects.
Description
You can view the access and operation records of objects by using offline log query and real-time log query. The specific methods are as follows:
Method 1: Query offline logs
- To find the access records of OSS objects, you must enable the OSS logging feature. For more information about how to enable the log storage feature, see Set log storage.
- OSS logs can record the time period during which objects are accessed. You can find the operation records of objects in the logs during this time period. The object file is accessed from which IP address and which request type is used based on the following two fields and time:
Description: For more information about the log file format and OSS access log entry, see Access log storage.
- Remote IP: records the IP address of the guest that initiates the request.
- Operation: the type of request that records access.
Method 2: Query real-time logs
The real-time log query feature combines OSS with Log Service. You can directly query OSS access logs in the OSS console and view the access and operation records of objects:
Application scope
- OSS