当前位置:网站首页>Logstash excludes specific files or folders from collecting report log data
Logstash excludes specific files or folders from collecting report log data
2022-06-27 15:53:00 【zhangphil】
logstash Exclude specific files or folders from collecting report log data
occasionally , Not going to logstash Collect specific files ( such as .apk,.zip Wait for the documents ) Or folders are reported as log data , It can be used exclude Remove . Write... In the configuration file :
input {
file {
exclude => [ "D:/movie/*.*" ,
"*.zip" , "*.rar" , "*.gz" ,
"*.jpg" , "*.png" , "*.jpeg" , ".bmp" ,
"*.avi" , "*.mov" ,
"*.apk"
]
}
} stay file It's equipped with , The above code first excludes D:/movie Everything under the folder . Then put all the compressed files 、 Picture file 、 Video file 、apk These files are not used as log collection objects .
边栏推荐
- Google Earth Engine(GEE)——Export. image. The difference and mixing of toasset/todrive, correctly export classification sample data to asset assets and references
- On traversal of tree nodes
- [170] the PostgreSQL 10 field type is changed from string to integer, and the error column cannot be cast automatically to type integer is reported
- Basic configuration and usage of Jupiter notebook
- 【170】PostgreSQL 10字段类型从字符串修改成整型,报错column cannot be cast automatically to type integer
- PSS:你距離NMS-free+提點只有兩個卷積層 | 2021論文
- Does polardb-x currently not support self-made database service Das?
- E modulenotfounderror: no module named 'psychopg2' (resolved)
- PolarDB-X开源版有没有支持 mysql5.7 的版本?
- Piblup test report 1- pedigree based animal model
猜你喜欢

分布式Session解决方案

Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing

Leetcode daily practice (longest substring without repeated characters)
![Luogu_ P1003 [noip2011 improvement group] carpet laying_ Violence enumeration](/img/65/413ac967cc8fc22f170c8c7ddaa106.png)
Luogu_ P1003 [noip2011 improvement group] carpet laying_ Violence enumeration

Introduction to TTCAN brick moving

LeetCode每日一练(杨辉三角)

28 object method extension

PSS:你距离NMS-free+提点只有两个卷积层 | 2021论文

CentOS8-postgresql初始化时报错:initdb: error: invalid locale settings; check LANG and LC_* environment

开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
随机推荐
Difference between special invoice and ordinary invoice
[kotlin] the next day
Jialichuang EDA professional edition all offline client release
Piblup test report 1- pedigree based animal model
#27ES6的数值扩展
Cesium 使用MediaStreamRecorder 或者MediaRecorder录屏并下载视频,以及开启摄像头录像。【转】
ICML 2022 | 阿⾥达摩院最新FEDformer,⻓程时序预测全⾯超越SOTA
带你认识图数据库性能和场景测试利器LDBC SNB
Leetcode daily practice (Yanghui triangle)
目前PolarDB-X是不支持数据库自制服务DAS么?
面试半年,上个月成功拿到阿里P7offer,全靠我啃烂了这份2020最新面试题!
Luogu_ P1007 single log bridge_ thinking
Design of spread spectrum communication system based on FPGA (with main code)
【Pygame小游戏】这款“吃掉一切”游戏简直奇葩了?通通都吃掉嘛?(附源码免费领)
Li Chuang EDA learning notes 16: array copy and array distribution
What is the London Silver code
The role of the symbol @ in MySQL
ICML 2022 ぷ the latest fedformer of the Dharma Institute of Afghanistan ⻓ surpasses SOTA in the whole process of time series prediction
28 object method extension
洛谷入门1【顺序结构】题单题解