Container-usage access log entry fields

Table 1. Container-usage access log entry fields
Field name Type Required Description
type String Yes The access log entry type, which will always be "container_usage" for entries of this type. Used for differentiation from other access log entry types such as "http", "mirror", or "proxy".
format Integer Yes The current version of the "container_usage" log entry format.
storage_account_id String Yes Storage Account ID
container_name String Yes Container Name
container_id UUID Yes Container UUID
storage_location_id UUID Yes Storage Location ID (the container vault where this container resides).
timestamp_finish long Yes The timestamp, in seconds since epoch, when the usage numbers in this access log entry were calculated.
time_finish String No A human-readable date string associated with timestamp_finish (ISO 8601).
container_bytes_used String Yes Container Bytes Used: Total Number of Bytes in the Container at the time of this request - converted to String from BigInteger.
container_object_count String Yes Container Object Count: Total number of objects in the Container at the time of this request - converted to String from BigInteger.
The following code is an example of container usage:
{
  "container_bytes_used": "1248305490",
  "container_id": "d2b2c182-14e1-460a-b81d-5cbc57b4b3c7",
  "container_name": "cleanupserviceusagevalidationslicestorcrash",
  "container_object_count": "254",
  "storage_account_id": "container-user",
  "storage_location_id": "4365dd00-8ada-75a8-004b-12ef097f2b65",
  "time_finish": "08/Nov/2016:20:47:00 +0000",
  "timestamp_finish": "1478638020204",
  "type": "container_usage",
  "format": 1
}
The following code is an example of normal deletes:
{
  "type": "s3-multi-delete",
  "format": 1,
  "request_id": "a10a9ca5-16be-4aa0-aaf6-d4422d3a4180",
  "object_count": 3,
  "s3_delete_result": {
    "results": [
      {
        "key": "test1"
      },
      {
        "key": "test"
      },
      {
        "key": "test2"
      }
    ]
  }
}
The following code is an example of Multi-Delete Access Log Entry (Versioning):
{
  "type": "s3-multi-delete",
  "format": 1,
  "request_id": "fb7e6201-37e8-4d91-84ed-2c4a868eadcf",
  "object_count": 3,
  "s3_delete_result": {
    "results": [
      {
        "delete_marker_version_id": "78b4adc5-6522-4aa6-8b98-3bd22fc97d97",
        "delete_marker": true,
        "key": "test1"
      },
      {
        "delete_marker_version_id": "518a4819-c4a4-46ff-a0df-633dc3920a70",
        "delete_marker": true,
        "key": "test"
      },
      {
        "delete_marker_version_id": "601835ee-05e9-4567-9212-10386bb85a0e",
        "delete_marker": true,
        "key": "test2"
      }
    ]
  }
}
The following code is an example of Multi-Delete Access Log Entry (Failures):
{
  "type": "s3-multi-delete",
  "format": 1,
  "request_id": "c6282549-eb0d-4021-b451-7ca8a770f8e1",
  "object_count": 3,
  "s3_delete_result": {
    "results": [
      {
        "message": "Internal Error.",
        "code": "InternalError",
        "key": "test1"
      },
      {
        "message": "Internal Error.",
        "code": "InternalError",
        "key": "test"
      },
      {
        "message": "Internal Error.",
        "code": "InternalError",
        "key": "test2"
      }
    ]
  },
}