当前位置:网站首页>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 .
边栏推荐
- Typescript learning materials
- QT notes (XXVIII) using qwebengineview to display web pages
- 3.1 simple condition judgment
- NFT双币质押流动性挖矿dapp合约定制
- 漏洞复现----34、yapi 远程命令执行漏洞
- Design of digital video signal processor based on FPGA (with main code)
- Design of spread spectrum communication system based on FPGA (with main code)
- Slow bear market, bit Store provides stable stacking products to help you cross the bull and bear
- Difference between special invoice and ordinary invoice
- Jialichuang EDA professional edition all offline client release
猜你喜欢

Sigkdd22 | graph generalization framework of graph neural network under the paradigm of "pre training, prompting and fine tuning"

开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事

【kotlin】第二天

QT notes (XXVIII) using qwebengineview to display web pages

28 object method extension

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

Creation and use of static library (win10+vs2022
MySQL中符号@的作用

Admixture usage document Cookbook

sql注入原理
随机推荐
关于快速幂
[issue 18] share a Netease go classic
Design principles and ideas: design principles
[kotlin] the next day
[interview questions] common interview questions (I)
How is the London Silver point difference calculated
Design of direct spread spectrum communication system based on FPGA (with main code)
Can polardb-x be accessed through the client of related tools as long as the client supporting JDBC / ODBC protocol is afraid?
Li Chuang EDA learning notes 16: array copy and array distribution
#28对象方法扩展
避孕套巨头过去两年销量下降40% ,下降原因是什么?
E ModuleNotFoundError: No module named ‘psycopg2‘(已解决)
Piblup test report 1- pedigree based animal model
Cesium uses mediastreamrecorder or mediarecorder to record screen and download video, as well as turn on camera recording. [transfer]
如果想用dms来处理数据库权限问题,想问下账号只能用阿里云的ram账号吗(阿里云的rds)
洛谷_P1002 [NOIP2002 普及组] 过河卒_dp
Does polardb-x currently not support self-made database service Das?
创建数据库并使用
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
About tensorflow using GPU acceleration