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

CLS Log Backup

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-10-24 18:41:53

Overview

The CLS log backup feature is provided by COS based on SCF to dump CLS logs to COS.
After you configure a log backup rule for a bucket, SCF will dump the CLS logs to the bucket according to the time granularity configured.
CLS log backup can ship log data to COS to further meet the needs of log backup scenarios and harness the value of log data. Log backup is an asynchronous process. When log data is generated, SCF automatically backs up the log data to COS for storage via trigger.

Notes

If you have previously added a CLS log backup rule to your bucket via the COS console, you can view the CLS log backup function you created in the SCF console. DO NOT delete the function. Otherwise, your rule may not take effect. CLS log backup is supported in SCF-enabled regions, including Guangzhou, Shanghai, Beijing, Hong Kong (China), Chengdu, Singapore and Silicon Valley. For more supported regions, see the SCF documentation.

Directions

1. Log in to the COS console.
2. On the left sidebar, click Application Integration > Data Backup and find CLS Log Backup.
3. Click Configure Backup Rule to go to the rule configuration page.
4. Click Add Function.
Note:
If you haven't activated SCF, go to the SCF console to activate it and authorize the service as instructed.
5. In the pop-up window, configure the following items:
Function Name: Uniquely identifies a function and cannot be modified after being set. You can view the function in the SCF console.
Associated Bucket: A COS bucket that stores the CLS logs.
Logset: A logset is a project management unit of CLS, used to distinguish logs of different projects. You can select the logset of the message source, which must be in the function region.
Log Topic: A log topic is the basic management unit of CLS and also the smallest unit for managing and configuring CLS triggers. A logset can contain multiple log topics. You can select a log topic of the message source.
Max Wait Time: You can set this parameter to control the log obtaining frequency. The parameter value can range from 3 to 300 seconds. If you set the parameter to 300 seconds, the SCF will collect the log data generated within 300 seconds and package it centrally as log files for backup.
SCF Authorization: SCF needs to be authorized to read CLS logs and dump them to the specified bucket.
6. Click Next to configure the following information:
Compression Format: You can determine whether to compress log files before backup. A compressed log file can be up to 128 KB. Currently, log files can be compressed using gzip, lzop or snappy.
Partition Format: A directory is automatically generated based on the strftime syntax. For example, if the partition format is %Y/%m/%d/%Y%m%d%H%M, the generated directory is 2021/06/25/202106252232.
Delivery Path: Log backup path. You can select the root directory or specify a path prefix.
Delivery Sample: The final backup filename is in the format of {COS bucket}{Directory prefix}{Partition format}_{random}.{type}.
7. Click Confirm. After the CLS backup rule is created, you can view it in the list.
You can perform the following operations on the created CLS log backup rule:
Click Log to view the historical running status of CLS log backup. If an error is reported, you can click Log to quickly redirect to the SCF console for viewing the error log details.
Click More > Edit to modify the CLS log backup rule.
Click More > Delete to delete the unwanted CLS log backup rule.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan