当前位置:网站首页>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 .
边栏推荐
- Sigkdd22 | graph generalization framework of graph neural network under the paradigm of "pre training, prompting and fine tuning"
- SQL parsing practice of Pisa proxy
- 开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
- What should the ultimate LAN transmission experience be like
- How is the London Silver point difference calculated
- Distributed session solution
- Problems encountered in vs compilation
- Create a database and use
- 2022年最新《谷粒学院开发教程》:8 - 前台登录功能
- OpenSSF安全计划:SBOM将驱动软件供应链安全
猜你喜欢

带你认识图数据库性能和场景测试利器LDBC SNB

Keep valid digits; Keep n digits after the decimal point;
![Luogu_ P1003 [noip2011 improvement group] carpet laying_ Violence enumeration](/img/65/413ac967cc8fc22f170c8c7ddaa106.png)
Luogu_ P1003 [noip2011 improvement group] carpet laying_ Violence enumeration

Today, Teng Xu came out with 37k during the interview. It's really a miracle. He showed me his skill

Leetcode daily practice (Yanghui triangle)

事务的四大特性

【Pygame小游戏】这款“吃掉一切”游戏简直奇葩了?通通都吃掉嘛?(附源码免费领)

SQL injection principle

守护雪山之王:这些AI研究者找到了技术的新「用武之地」

Luogu_ P1007 single log bridge_ thinking
随机推荐
NFT双币质押流动性挖矿dapp合约定制
实现简单的三D立方体自动旋转
[high concurrency] deeply analyze the callable interface
SQL injection principle
Principle Comparison and analysis of mechanical hard disk and SSD solid state disk
Create a database and use
About tensorflow using GPU acceleration
Use redis to automatically cancel orders within 30 minutes
#27ES6的数值扩展
Difference between special invoice and ordinary invoice
请问阿里云实验中 k8s 对于3306端口转发,同时开启mysql客户端就会异常终止,是什么原因呢?
2022-2-16 learning the imitated Niuke project - Section 6 adding comments
泰山OFFICE技术讲座:第一难点是竖向定位
创建数据库并使用
Cesium 使用MediaStreamRecorder 或者MediaRecorder录屏并下载视频,以及开启摄像头录像。【转】
面试半年,上个月成功拿到阿里P7offer,全靠我啃烂了这份2020最新面试题!
28 object method extension
The role of the symbol @ in MySQL
Google Earth Engine(GEE)——Export. image. The difference and mixing of toasset/todrive, correctly export classification sample data to asset assets and references
ICML 2022 ぷ the latest fedformer of the Dharma Institute of Afghanistan ⻓ surpasses SOTA in the whole process of time series prediction