当前位置:网站首页>Log blacklist can really save you money!
Log blacklist can really save you money!
2022-07-16 05:42:00 【InfoQ】
summary
“ Observation cloud ” It provides you with a comprehensive log collection capability , Support collection Windows/Linux/MacOS host 、Web The server 、 virtual machine 、 Network devices 、 Safety equipment 、 Log data generated by database , However, the collected logs will contain some logs you don't need , therefore “ Observation cloud ” For you 「 Log blacklist 」 function , That is, by adding log filtering rules , Filter the log data that conforms to this rule 、 Prevent reporting to the workspace , Help you save the cost of log data storage .
precondition
- You need to create a 【 Observation cloud account 】
- https://auth.guance.com
- install DataKit 【DataKit Installation document 】
- https://www.yuque.com/dataflux/datakit/datakit-how-to
- Start the operation of relevant integration , Data collection .
The role of log blacklist :
a. To save money
stay “ Observation cloud ” in , The billing method for log data is as follows :
With “ Availability dial test ” Take the generated log data as an example , We create a node in Beijing , Dial and test our website every minute . At this time, a log will be generated and uploaded to the workspace every minute , What we pay more attention to is the dial test timeout of this node 、 When you fail , So you can use our log blacklist function , Will dial test status by OK Filter the logs of , Thus, the data cost is greatly saved .
b. worry
The log blacklist configuration takes effect immediately , Common to all users in the whole workspace , And you only need to configure it once , permanent . Standard members and above can be created 、 Edit blacklist configuration .
c. To save time
Use the log blacklist function , It can reduce the collection of invalid logs , Present more effective information in the workspace , It is convenient for you to find the target log faster .
How to use the log blacklist function
a. Check the blacklist
stay “ Observation cloud ” working space , Click on 「 journal 」-「 The blacklist 」, You can 「 Log blacklist 」, View all log filtering rules .

b. newly build 、 Edit blacklist
newly build : In the top left corner of the log blacklist , Click on 「 New blacklist 」, You can create a new log filter rule .
edit : On the right side of the log blacklist , Click on 「 edit 」, You can edit the created log filter rules .
For example, select the log source
http_dail_testing, Screening filtration
status=OK And
city=hangzhou Log data for .

Be careful : Two conditions are supported ,“ arbitrarily ” and “ all ”.“ arbitrarily ” by “ or (OR)” Conditions ,“ all ” by “ And (AND)” Conditions .
c. Delete the blacklist
On the right side of the log blacklist , Click on 「 Delete 」, You can delete the existing log filtering rules . After deleting the filter rule , Log data will be reported to the workspace normally .

边栏推荐
- [Huang ah code] today, someone actually asked me: what does where 1=1 mean?
- [prettier] the code automatically formatted by prettier does not take effect
- 树数据中根据子节点id查找父节点的id
- JS closing notes
- 内网渗透笔记——vulnhub内网结课渗透
- Free CDN jsdelivr acceleration website
- Advanced architects, 16 common principles of microservice design and Governance
- C3&H5&ES6
- Svelte 官方入门教程(4)—— 模板逻辑
- Implementation principle of new keyword in JS
猜你喜欢
随机推荐
ant-design Upload组件自定义上传
C3&H5&ES6
BUUCTF 后门查杀
:class修改样式
内存取证-Volatility安装使用以及一些CTF比赛题目
Svelte 官方入门教程(5)—— 事件
[安洵杯 2019]easy_web
自上而下获取父节点的id的集合
BUUCTF 九连环
[Huang ah code] Why do I suggest you choose go instead of PHP?
Implementation principle of new keyword in JS
oracle 学习
[WUSTCTF2020]朴实无华
dva数据流
JS根据二进制数据下载文件
组件化编码流程--Todo-list案例
Svelte official introductory tutorial (4) -- template logic
Cross domain exceptions where the admin system is nested in a third-party system
免费CDN jsdelivr 加速网站
JS closing notes

![[安洵杯 2019]easy_web](/img/9d/f2c6fda2a96f4ac649dd553c9c2c55.png)



![Secondary development tutorial of fastadmin [simple construction, multi table problems, API development]](/img/ea/25cb69f646e413f810d9e6d49f182c.png)



