Database Reference
In-Depth Information
and the final command actually enables logging for the bucket. Note that
these commands will work only if you update the variables in the snippet to
reference GCS buckets that you administer.
When logging is enabled, two types of files, usage and storage, will
periodically be added to the bucket you specified. The usage files contain
the operations performed on the bucket and the storage files contain the
byte-hours of storage consumed over a 24-hour period. Both of these files
contain CSV formatted data. The storage files are not particularly interesting
because they are trivial and contain only a single record. The rest of this
section focuses on the usage files that have a lot more information.
The usage file contains a number of fields that provide a detailed description
of every operation performed on the bucket. Table 14.2 lists the fields
available.
 
Search WWH ::




Custom Search