tencent cloud

Add COS Inventory Analysis Function
Last updated:2025-05-27 10:51:52
Add COS Inventory Analysis Function
Last updated: 2025-05-27 10:51:52

Overview

COS Inventory Analysis offers inventory analysis services for various scenarios, helping you extract key information from inventory files more efficiently. This article introduces how to add a COS Inventory Analysis function. After creating the function, please refer to Setting Inventory Analysis to use the COS Inventory Analysis feature.

Must-Knows

If you have added a COS inventory analysis rule to your bucket via the COS console, you can see the COS inventory analysis function you created in the SCF console. Do not delete this COS inventory analysis function. Otherwise, your rule may not take effect.
The current feature is only supported in regions where both COS and SCF are the same. It is not supported in some regions, such as Chongqing. The specific regions are subject to those displayed on the COS and SCF consoles.
COS inventory analysis feature depends on cloud function service. The cloud function service provides users with a free quota. The part exceeding the free quota is charged according to SCF product pricing.

Directions

1. Log in to the COS Console.
2. In the left sidebar, select Application Integration > Extended Function, and find COS inventory analysis.
3. Click Configure Analysis Feature to enter the function rule configuration page for COS Inventory Analysis.
4. On the page, select the region where you need to add a function, then click Add Function, and configure the following information in the pop-up window:
Function Name: The function name serves as the unique identifier of the function and cannot be modified after creation. You can view the function on the SCF console.
Associated Bucket: Select a COS storage bucket with inventory analysis feature enabled.
Execution Method: Currently only supports async execution. After calling, it enters the async execution status, does not return the execution result, but supports a longer running time.
Authentication Method: Currently only support SCF authentication.
Status: To use this feature, the bucket needs to have the inventory feature configured. For operation guide, please see Setup Checklist.
SCF Authorization: COS inventory analysis requires authorization for the cloud function to read the corresponding file from your bucket and save the inventory analysis result file to a user-specified location. Therefore, this item needs to be selected to complete the authorization of the SCF service.
5. After confirming that the configuration is correct, click Confirm. Wait a moment, and you will see that the function has been added successfully. According to the pop-up notification, you can go to the inventory configuration item of the bucket to create an inventory analysis task. For details, refer to COS Inventory Analysis.
6. You can perform the following operations on the newly created function:
Click Instructions to reopen the use guidance and quickly go to the COS storage bucket.
Click Log to view the historical running status of the COS inventory analysis function. When an error occurs, you can also click Log to quickly jump to the SCF console to view the error details in the log.
Click Details to view detailed information about the function and trigger.
Click More > Edit to view the COS inventory analysis function rules.
Click More > Delete to delete the non-use COS inventory analysis function rule.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback