当前位置:网站首页>Logstash clear sincedb_ Path upload records and retransmit log data
Logstash clear sincedb_ Path upload records and retransmit log data
2022-07-06 00:44:00 【zhangphil】
logstash eliminate sincedb_path Upload records , Retransmit log data
logstash Through a named sincedb_path The record file under records the current logstash The location of the uploaded log file , If specified as null, Then use home default . Clear this sincedb_path The files under the , Will lead to logstash Lose all uploaded records , that logstash All monitoring files will be uploaded again ( It means that if some of the original data has been uploaded , Then there will be duplicate log files ).
But sometimes it can be used sincedb_path This feature , Appoint sincedb_path Stored files , And clear all contents in the file , Will trigger logstash Upload all log data repeatedly .
for example :
input{
file{
sincedb_path => [ "E:/history/records.data" ]
}
}
If you remove records.data, Then trigger retransmission .
边栏推荐
- Natural language processing (NLP) - third party Library (Toolkit):allenlp [library for building various NLP models; based on pytorch]
- Comment faire votre propre robot
- Cannot resolve symbol error
- cf:C. The Third Problem【关于排列这件事】
- 【线上小工具】开发过程中会用到的线上小工具合集
- Problems and solutions of converting date into specified string in date class
- Pointer pointer array, array pointer
- Power Query数据格式的转换、拆分合并提取、删除重复项、删除错误、转置与反转、透视和逆透视
- 图解网络:TCP三次握手背后的原理,为啥两次握手不可以?
- Folding and sinking sand -- weekly record of ETF
猜你喜欢
如何利用Flutter框架开发运行小程序
SAP Spartacus home 页面读取 product 数据的请求的 population 逻辑
XML配置文件
The third season of ape table school is about to launch, opening a new vision for developers under the wave of going to sea
Classical concurrency problem: the dining problem of philosophers
[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)
Notepad + + regular expression replace String
数据分析思维分析方法和业务知识——分析方法(二)
如何制作自己的机器人
Study diary: February 13, 2022
随机推荐
I'm interested in watching Tiktok live beyond concert
可恢复保险丝特性测试
anconda下载+添加清华+tensorflow 安装+No module named ‘tensorflow‘+KernelRestarter: restart failed,内核重启失败
Opencv classic 100 questions
How spark gets columns in dataframe --column, $, column, apply
XML Configuration File
NLP text processing: lemma [English] [put the deformation of various types of words into one form] [wet- > go; are- > be]
数据分析思维分析方法和业务知识——分析方法(三)
Calculate sha256 value of data or file based on crypto++
新手入门深度学习 | 3-6:优化器optimizers
MIT博士论文 | 使用神经符号学习的鲁棒可靠智能系统
Spark-SQL UDF函数
小程序技术优势与产业互联网相结合的分析
Leetcode Fibonacci sequence
Beginner redis
Classic CTF topic about FTP protocol
[Online gadgets] a collection of online gadgets that will be used in the development process
Classical concurrency problem: the dining problem of philosophers
Power Query数据格式的转换、拆分合并提取、删除重复项、删除错误、转置与反转、透视和逆透视
Codeforces round 804 (Div. 2) [competition record]