当前位置:网站首页>[log service CLS] Tencent cloud log service CLS accesses CDN
[log service CLS] Tencent cloud log service CLS accesses CDN
2022-06-24 13:17:00 【Meow man】
Introduce
First of all, let's understand what a log service is CLS, According to the official description below :
The log service (Cloud Log Service,CLS) It is a one-stop log data service platform provided by Tencent cloud , It mainly provides the following functions :
Log collection : Log collection end LogListener ,API And so on . The logging stored : Centralized storage and management of log data . Search analysis : Provide log query and filtering function . Delivery consumption : Provide log delivery / Consumer function , Facilitate further processing of log data . CLS Seamless connection with multiple cloud product logs of Tencent cloud .
The functions described above look a lot , But the first experience may still be confused . But follow the official console and document instructions , It's easy to get started .
Opening CLS The log service
First, access the log service CLS Official website , Click on 【 Immediate use 】.
The opening dialog box will appear for the first time , Click OK , Enter the log service console .
The log service Log service platform Log data analysis - Tencent cloud (tencent.com)
From the console you can see , Above is the overview data , Below is the quick access entrance .
Fast access basically covers the mainstream log service application scenarios in the market , This experience is based on the content distribution network CDN For example , Take a look at how the log service here is used .
Content distribution network CDN Access log service
Document introduction
First click... On the console 【 Fast access 】-【 Content distribution network CDN】, It will appear on the right 【 Real time log 】 Documents , There are detailed documents in it . The document links are as follows :
Content distribution network Real time log - Configuration Guide - Document center - Tencent cloud
Opening CDN The log service
Get into CDN Console , choice 【 The log service 】, Switch to 【 Real time log 】 tab . For the first time, you should choose to open the real-time log service .
Create a service role and authorize .
choice 【 Agree to authorize 】
New blog topic
Back to the real-time log , choice 【 newly build 】, Then enter the topic name , Select the domain name to add in the domain name list . Click save when finished .
Be careful : At present, only domain names of domestic regions can be added here .
You can see that the current status is 【 In delivery 】, The configuration needs to wait 15 minute .
Make complaints : The waiting time here is too long , and 15 Refresh the page in minutes , Still in delivery , There is no change in state .
Search logs
Click on 【 retrieval 】, You can see the log information , Currently, there is no log .
CDN Log generation for is easy , As long as the domain name is accessed , Records will be generated in the search analysis .
I visited the root path of my domain name / and /list route , The following records were generated :
You can see detailed client access information from the table , Including but not limited to access addresses 、IP source 、 Browser kernel version 、 Operating system version 、 User Province, etc .
If you think there are too many data , Not conducive to screening , You can select the display field on the left , So the key information is clear at a glance .
I will be a local H5 page , Deployed to the secondary directory of the domain name , After the visit 77 Data .
Many of them are picture resources , Many log entries are generated . Therefore, you can consider configuring image resources on other domain names , This allows you to H5 The home page is distinguished from the picture resources , Make the log data not redundant .
Chart analysis
Switch to 【 Chart analysis 】, The following content is found to be empty , This is because there are only today's data , It will take some time to analyze . Fortunately, the number of logs generated in a single day on that day , Can be on the top 【 Number of logs 】 You can see clearly in the histogram .
Delete the log topic
If you do not need the log topic service , In the log service console , find 【 The log service 】-【 Journal topics 】, Find the specified log topic ID Or name , Click delete .
Deleting is a dangerous operation , Operation must be careful .
Make complaints : I didn't click OK , Just click on the top right corner x, The log topic is deleted , And there is no recycle bin .
If important data needs to be backed up , Can be in 【 Search analysis 】 Inside , Click the download button .
You can also refer to the official documents for specific operations :
The log service Download logs - Operation guide - Document center - Tencent cloud
summary
The log service CLS This is my first time to experience the console , Only then did I discover the log service of the cloud function used before , It also comes from the log service CLS. Through this experience , I have basically found out CLS Usage of . But for now , The log service CLS Not mature enough , For example, the current console search monitoring granularity is only one minute , The document lacks best practices for specific scenarios , Delete operation has bug, Lack of recycle bin, etc . I hope the following versions , The log service CLS Can do better and better .
边栏推荐
- How stupid of me to hire a bunch of programmers who can only "Google"!
- 105. simple chat room 8: use socket to transfer pictures
- Baidu simian: talk about persistence mechanism and rdb/aof application scenario analysis!
- 爱可可AI前沿推介(6.24)
- Megacli online management raid installation and use steps
- 短信服务sms
- Configuration (enable_*) parameter related to execution plan in PG
- Another prize! Tencent Youtu won the leading scientific and technological achievement award of the 2021 digital Expo
- Codereview tool chain for micro medicine
- Optimization of MP4 file missing seconds caused by TS files when downloading videos from easydss video platform
猜你喜欢

MySQL foreign key impact

Use abp Zero builds a third-party login module (I): Principles

Use the open source tool k8tz to gracefully set the kubernetes pod time zone

Nifi from introduction to practice (nanny level tutorial) - environment

CVPR 2022 | 美团技术团队精选论文解读

1、贪吃蛇游戏设计

Yolov6: the fast and accurate target detection framework is open source

Codereview tool chain for micro medicine

Understanding openstack network

‘高并发&高性能&高可用服务程序’编写及运维指南
随机推荐
IIS WCF 808 port service access exception
华为AppLinking中统一链接的创建和使用
How long will it take to open a mobile account? Is online account opening safe?
The pod is evicted due to insufficient disk space of tke node
[programming navigation] the practical code summarized by foreign great God, learned in 30 seconds!
DTU上报的数据值无法通过腾讯云规则引擎填入腾讯云数据库中
短信服务sms
Use abp Zero builds a third-party login module (I): Principles
SCRM, a breakthrough in the new consumption era
[data mining] final review (sample questions + a few knowledge points)
Yolov6: the fast and accurate target detection framework is open source
“我这个白痴,招到了一堆只会“谷歌”的程序员!”
[database] final review (planning Edition)
Use txvideoeditor to add watermark and export video card at 99%? No successful failed callback?
物联网?快来看 Arduino 上云啦
The programmer's graduation project is still bald after a year
openGauss内核:简单查询的执行
问个sql view的问题
105. simple chat room 8: use socket to transfer pictures
1、贪吃蛇游戏设计