.. _Usage Statistics: Usage Statistics ================ The S3 gateway can collect usage statistics for S3 users and S3 buckets. The collected data are saved as regular objects. One such object contains statistics for the set usage period. To enable statistics collection, set ``S3_GW_USAGE_BUCKET`` to ``True`` in the gateway configuration file (``/var/lib/ostor/local/gw.conf`` by default). Other options you may need to set are: ``S3_GW_USAGE_PERIOD`` (usage period in a single statistics object, in seconds) and ``S3_GW_USAGE_CACHE_TIMEOUT`` (the frequency of dumping statistics from memory to storage, in seconds). .. toctree:: :name: A29rzbF9QC49IWm6 :caption: In this chapter: :maxdepth: 3 :numbered: get-service-ostor-usage delete-service-ostor-usage