Configuring a Bucket Inventory
Procedure
- In the navigation pane of OBS Console, choose Object Storage.
- In the bucket list, click the bucket name you want. The Objects page is displayed.
- In the navigation pane, click Inventories. The inventory list is displayed.
- Click Create. The Create Inventory dialog box is displayed.
Figure 1 Inventory settings
- Set the required parameters.
Table 1 Parameters for configuring a bucket inventory Parameter
Description
Inventory Name
Name of a bucket inventory
Filter
Filtering condition of an inventory. You can enter an object name prefix, then the inventory generated will cover objects whose names begin with the same prefix.
An inventory can only filter objects by a specified prefix. If the filter is not specified, the inventory covers all objects in the bucket.
If a bucket has multiple inventories, their filters cannot overlap with each other.
Save Inventory Files To
Select a bucket where the generated inventory files are stored. This bucket and the source bucket must be in the same region.
Inventory File Name Prefix
Prefix of the storage path of the inventory files.
Once an inventory file is generated, its saving path is in the following format: Inventory file name prefix/Source bucket name/Inventory name/Date and time/files/
If this parameter is not specified, the system automatically adds the prefix BucketInventory to an inventory file.
Frequency
How frequently inventory files are generated. It can be set to Daily or Weekly.
Status
Status of the configured inventory. You can enable or disable it to make the configuration effective or ineffective.
- Click Next to go to the Configure Report page.
Figure 2 Configuring the report
- Configure the report.
Table 2 Report related parameters Parameter
Description
Inventory Format
Inventory files can be saved only in the CSV format.
Object Versions
Object versions that you want to list in an inventory file. It can be set to Current version only or Include all versions.
Optional Fields
Object information fields that can be contained in an inventory file, including Size, Last modified date, Storage class, ETag, Multipart upload, Encryption status, and Replication status. For details about the fields, see Metadata in an Inventory File.
- Click Next to confirm the bucket policy.
A bucket policy is created on the bucket for the bucket to store inventory files.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackFor any further questions, feel free to contact us through the chatbot.
Chatbot