All Products
Search
Document Center

Object Storage Service:Log management

Last Updated:Jun 10, 2026

OSS provides log management features for auditing operations, troubleshooting access issues, and analyzing usage patterns.

OSS log management

Real-time log query

OSS access generates logs that you can query in real time through integration with Simple Log Service (SLS). Query access logs directly from the OSS console to audit operations, collect access statistics, trace anomalies, and locate issues. SLS also supports in-depth log analysis, such as batch log deletion and hourly metering.

Log storage

OSS generates hourly log files with a fixed naming convention and stores them in a designated bucket.

Set log recording request header or query parameter

By default, OSS access logs contain fixed fields for basic analysis. To track specific user behavior or meet custom monitoring needs, use the custom log field feature (user_defined_log_fields) to record additional request headers and query parameters.

References