All Products
Document Center

How to find access logs to the OSS object

Last Updated: Dec 19, 2017

To view the access records to the object in OSS, you must enable Logging in the OSS. In the bucket attribute in OSS, you can enable logging and set the bucket for storing the logs. Steps for the settings can be found.

OSS logging can record the period of time when the object was accessed. Users can find information about operations on the object within the period of time. In each operation log, the “Remote IP” field records the IP address of the request initiator, and the “Operation” field records the type of access request. The two fields and the time can be used to identify the IP address of the request initiator and the request type used to access the object file.

For information about the log file format, see Set access logging.