tencent cloud

Cloud Object Storage

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Use Cases
Strengths
Concepts
Regions and Access Endpoints
Specifications and Limits
Service Regions and Service Providers
Billing
Billing Overview
Billing Method
Billable Items
Free Tier
Billing Examples
Viewing and Downloading Bill
Payment Overdue
FAQs
Getting Started
Console
Getting Started with COSBrowser
User Guide
Creating Request
Bucket
Object
Data Management
Batch Operation
Global Acceleration
Monitoring and Alarms
Operations Center
Data Processing
Content Moderation
Smart Toolbox
Data Processing Workflow
Application Integration
User Tools
Tool Overview
Installation and Configuration of Environment
COSBrowser
COSCLI (Beta)
COSCMD
COS Migration
FTP Server
Hadoop
COSDistCp
HDFS TO COS
GooseFS-Lite
Online Tools
Diagnostic Tool
Use Cases
Overview
Access Control and Permission Management
Performance Optimization
Accessing COS with AWS S3 SDK
Data Disaster Recovery and Backup
Domain Name Management Practice
Image Processing
Audio/Video Practices
Workflow
Direct Data Upload
Content Moderation
Data Security
Data Verification
Big Data Practice
COS Cost Optimization Solutions
Using COS in the Third-party Applications
Migration Guide
Migrating Local Data to COS
Migrating Data from Third-Party Cloud Storage Service to COS
Migrating Data from URL to COS
Migrating Data Within COS
Migrating Data Between HDFS and COS
Data Lake Storage
Cloud Native Datalake Storage
Metadata Accelerator
GooseFS
Data Processing
Data Processing Overview
Image Processing
Media Processing
Content Moderation
File Processing Service
File Preview
Troubleshooting
Obtaining RequestId
Slow Upload over Public Network
403 Error for COS Access
Resource Access Error
POST Object Common Exceptions
API Documentation
Introduction
Common Request Headers
Common Response Headers
Error Codes
Request Signature
Action List
Service APIs
Bucket APIs
Object APIs
Batch Operation APIs
Data Processing APIs
Job and Workflow
Content Moderation APIs
Cloud Antivirus API
SDK Documentation
SDK Overview
Preparations
Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Flutter SDK
Go SDK
iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
React Native SDK
Mini Program SDK
Error Codes
Harmony SDK
Endpoint SDK Quality Optimization
Security and Compliance
Data Disaster Recovery
Data Security
Cloud Access Management
FAQs
Popular Questions
General
Billing
Domain Name Compliance Issues
Bucket Configuration
Domain Names and CDN
Object Operations
Logging and Monitoring
Permission Management
Data Processing
Data Security
Pre-signed URL Issues
SDKs
Tools
APIs
Agreements
Service Level Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Adding Log Analysis Function

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2025-05-27 10:48:44

Overview

The COS log analysis feature applies to various scenarios to help you efficiently extract key information from log files. This document describes how to add a COS log analysis function. After adding a function, see Setting Log Analysis to use this feature.

Notes

If you have added a COS log analysis rule to your bucket via the COS console, you can view the COS log analysis function you created in the SCF console. Do not delete the COS log 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 (for example, Chongqing). The specific regions are subject to those displayed on the COS and SCF consoles.
The log analysis feature depends on the SCF service, which provides users with a free tier. You will be billed for the part exceeding the free tier according to SCF pricing.

Directions

1. Log in to the COS console.
2. On the left sidebar, click App Integration > Extended Features and find COS Log Analysis.
3. Click Configure Analysis Feature to enter the function rule configuration page.
4. Select a region to add the function and click Add Function. Configure the following information in the pop-up window:
Function Name: Uniquely identifies a function and cannot be modified after it is created. You can view the function in the SCF console.
Associated Bucket: Select a COS bucket with the log analysis feature enabled.
Execution Method: Only async execution is supported. After the function is called, tasks will be executed asynchronously without returning the execution result. A longer running time is supported.
Authentication Method: Only SCF is supported.
Log storage status: Need confirmation on whether the log storage status is enabled. For operation guide, please see Set Log Storage.
SCF Authorization: SCF need to be authorized to read files from your bucket and save the result file to the specified folder.
5. After confirming that the configuration is correct, click Confirm. Wait a moment, and you will see that the function has been added. Based on the pop-up notification, you can go to the log management configuration item of the bucket to create a log analysis task. For details, refer to COS Log Analysis.
6. Click Confirm.
You can perform the following operations on the created function:
Click Instructions to reopen the usage guidance and quickly go to the COS storage bucket.
Click Log to view the historical running status.
Click Details to view detailed configuration rules.
Click More > Edit to modify a COS log analysis rule.
Click More > Delete to delete an unwanted COS log analysis rule.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan