forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
89 lines
9.1 KiB
HTML
89 lines
9.1 KiB
HTML
<a name="obs_03_0084"></a><a name="obs_03_0084"></a>
|
|
|
|
<h1 class="topictitle1">Configuring a Bucket Inventory</h1>
|
|
<div id="body1547800638356"><div class="section" id="obs_03_0084__section117761522124"><h4 class="sectiontitle">Procedure</h4><ol id="obs_03_0084__ol3126595"><li id="obs_03_0084__li99821455306"><span>In the bucket list, click the bucket you want to operate. The <strong id="obs_03_0084__obs_03_0307_b144421021120">Overview</strong> page is displayed.</span></li><li id="obs_03_0084__li16640678151420"><span>In the navigation pane, click <strong id="obs_03_0084__b198161941151912">Inventories</strong>. The inventory list is displayed.</span></li><li id="obs_03_0084__li5129947103610"><span>Click <strong id="obs_03_0084__b1859213396146">Create</strong>. The <strong id="obs_03_0084__b3673134295710">Create Inventory</strong> dialog box is displayed.</span></li><li id="obs_03_0084__li3576117171315"><span>Configure required parameters.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0084__table19665173916132" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters for configuring a bucket inventory</caption><thead align="left"><tr id="obs_03_0084__row966620399131"><th align="left" class="cellrowborder" valign="top" width="29.360000000000003%" id="mcps1.3.1.2.4.2.1.2.3.1.1"><p id="obs_03_0084__p36663396137">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70.64%" id="mcps1.3.1.2.4.2.1.2.3.1.2"><p id="obs_03_0084__p066613396132">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0084__row5666439141316"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p1766603951320">Inventory Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p4666153931319">Name of a bucket inventory</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row126661839151316"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p4666123915138">Filter</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p2950177815">Filter of an inventory. You can enter an object name prefix for OBS to create an inventory for objects with the specified prefix.</p>
|
|
<p id="obs_03_0084__p3268163572010">Currently, only a prefix can be used as a filter. If the filter is not specified, the inventory covers all objects in the bucket.</p>
|
|
<p id="obs_03_0084__p0385133511192">If a bucket has multiple inventories, their filters cannot overlap with each other.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row366623919135"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p1666173914131">Save Inventory Files To</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p15666113921314">Select a bucket (destination bucket) for saving generated inventory files. This bucket must be in the same region as the source bucket.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row1966683971315"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p5666193981314">Inventory File Name Prefix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p1217022212479">Prefix of the inventory file path.</p>
|
|
<p id="obs_03_0084__p16661539191310">An inventory file will be saved in the following path: <em id="obs_03_0084__i2468102319271">Inventory file name prefix/Source bucket name/Inventory name/Date and time/files/</em>.</p>
|
|
<p id="obs_03_0084__p05836460507">If this parameter is not specified, OBS automatically adds <strong id="obs_03_0084__b5761123521520">BucketInventory</strong> as the prefix to inventory file's path.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row1066613981316"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p766633991312">Frequency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p19666039121320">How frequently inventory files are generated. It can be set to <strong id="obs_03_0084__b9161626172810">Daily</strong> or <strong id="obs_03_0084__b05861214284">Weekly</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row1416527122214"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.4.2.1.2.3.1.1 "><p id="obs_03_0084__p1517127152213">Status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.4.2.1.2.3.1.2 "><p id="obs_03_0084__p217527152216">Inventory status. You can enable or disable the generation of inventories.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="obs_03_0084__li1559913210302"><span>Click <strong id="obs_03_0084__b164701118144317">Next</strong> to go to the <strong id="obs_03_0084__b13470191854311">Configure Report</strong> page.</span></li><li id="obs_03_0084__li14554324201319"><span>Configure the report.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0084__table2075795382319" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Report related parameters</caption><thead align="left"><tr id="obs_03_0084__row775813535231"><th align="left" class="cellrowborder" valign="top" width="29.360000000000003%" id="mcps1.3.1.2.6.2.1.2.3.1.1"><p id="obs_03_0084__p375875312236">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70.64%" id="mcps1.3.1.2.6.2.1.2.3.1.2"><p id="obs_03_0084__p1875865316238">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0084__row1975845313233"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.6.2.1.2.3.1.1 "><p id="obs_03_0084__p19758253162314">Inventory Format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.6.2.1.2.3.1.2 "><p id="obs_03_0084__p1875815316232">Inventory files can only be saved in CSV format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row177581953152310"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.6.2.1.2.3.1.1 "><p id="obs_03_0084__p875835372315">Object Versions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.6.2.1.2.3.1.2 "><p id="obs_03_0084__p675825362311">Object versions that you want to list in an inventory file. It can be set to <strong id="obs_03_0084__b1221113215343">Current version only</strong> or <strong id="obs_03_0084__b6889923173415">Include all versions</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row16758115382312"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.6.2.1.2.3.1.1 "><p id="obs_03_0084__p475855352315">Optional Fields</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.6.2.1.2.3.1.2 "><p id="obs_03_0084__p6758125392312">Object information fields that can be contained in an inventory file, including <strong id="obs_03_0084__b1669034503620">Size</strong>, <strong id="obs_03_0084__b146581157163610">Last modified date</strong>, <strong id="obs_03_0084__b4256164312528">Storage class</strong>, <strong id="obs_03_0084__b5315205213372">ETag</strong>, <strong id="obs_03_0084__b98581742143710">Multipart upload</strong>, <strong id="obs_03_0084__b5428192674614">Encryption status</strong>, and <strong id="obs_03_0084__b1473343743712">Replication status</strong>. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0084__row1993994314117"><td class="cellrowborder" valign="top" width="29.360000000000003%" headers="mcps1.3.1.2.6.2.1.2.3.1.1 "><p id="obs_03_0084__p149401643111119">Send Notification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.64%" headers="mcps1.3.1.2.6.2.1.2.3.1.2 "><p id="obs_03_0084__p15840192911319">If there is a new inventory file generated, a notification will be sent to the email address or mobile number specified in the SMN topic.</p>
|
|
<p id="obs_03_0084__p1794084314117">If you enable the notification function, an SMN event notification rule will be created in the bucket where inventory files are stored. You can view details about the rule on the <strong id="obs_03_0084__b8495105610507">Event Notification</strong> page of the bucket. If you disable the notification function or modify the SMN topic, the SMN event notification rule will also be deleted or modified.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="obs_03_0084__li752254783112"><span>Click <strong id="obs_03_0084__b22721428385">Next</strong> to confirm the bucket policy.</span><p><p id="obs_03_0084__p126081512711">OBS then automatically creates a bucket policy on the destination bucket to grant OBS permission to write inventory files to the bucket.</p>
|
|
</p></li><li id="obs_03_0084__li12967332135514"><span>Click <strong id="obs_03_0084__b129922390832817">OK</strong>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0082.html">Bucket Inventories</a></div>
|
|
</div>
|
|
</div>
|
|
|