当前位置:网站首页>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 .
边栏推荐
- CentOS8-postgresql初始化时报错:initdb: error: invalid locale settings; check LANG and LC_* environment
- Knightctf 2022 web section
- Does polardb-x currently not support self-made database service Das?
- ICML 2022 ぷ the latest fedformer of the Dharma Institute of Afghanistan ⻓ surpasses SOTA in the whole process of time series prediction
- Distributed session solution
- 一场分销裂变活动,不止是发发朋友圈这么简单!
- Create a database and use
- Difference between special invoice and ordinary invoice
- [interview questions] common interview questions (I)
- 域名绑定动态IP最佳实践
猜你喜欢

Sigkdd22 | graph generalization framework of graph neural network under the paradigm of "pre training, prompting and fine tuning"
![Beginner level Luogu 1 [sequence structure] problem list solution](/img/60/5e151ba31eb00374c73be52e3bfa7e.png)
Beginner level Luogu 1 [sequence structure] problem list solution

#28对象方法扩展

What should the ultimate LAN transmission experience be like

Pisa-Proxy 之 SQL 解析实践

Slow bear market, bit Store provides stable stacking products to help you cross the bull and bear

E ModuleNotFoundError: No module named ‘psycopg2‘(已解决)

洛谷入门2【分支结构】题单题解

熊市慢慢,Bit.Store提供稳定Staking产品助你穿越牛熊
![洛谷_P1003 [NOIP2011 提高组] 铺地毯_暴力枚举](/img/65/413ac967cc8fc22f170c8c7ddaa106.png)
洛谷_P1003 [NOIP2011 提高组] 铺地毯_暴力枚举
随机推荐
面试半年,上个月成功拿到阿里P7offer,全靠我啃烂了这份2020最新面试题!
Does polardb-x open source support mysql5.7?
Luogu_ P1003 [noip2011 improvement group] carpet laying_ Violence enumeration
Eolink 推出面向中小企业及初创企业支持计划,为企业赋能!
PSS:你距離NMS-free+提點只有兩個卷積層 | 2021論文
我想買固收+產品,但是不了解它主要投資哪些方面,有人知道嗎?
【170】PostgreSQL 10字段类型从字符串修改成整型,报错column cannot be cast automatically to type integer
Luogu_ P1002 [noip2002 popularization group] crossing the river_ dp
About the meaning of the first two $symbols of SAP ui5 parameter $$updategroupid
PSS: vous n'êtes qu'à deux niveaux du NMS Free + Lifting point | 2021 Paper
一场分销裂变活动,不止是发发朋友圈这么简单!
Centos8 PostgreSQL initialization error: initdb: error: invalid locale settings; check LANG and LC_* environment
专家:让你低分上好校的都是诈骗
Li Chuang EDA learning notes 16: array copy and array distribution
利用Redis实现订单30分钟自动取消
Piblup test report 1- pedigree based animal model
About fast exponentiation
Indexeddb learning materials
Does polardb-x currently not support self-made database service Das?
Introduction to TTCAN brick moving