当前位置:网站首页>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 .
边栏推荐
- Data analysis thinking analysis methods and business knowledge -- analysis methods (II)
- 新手入门深度学习 | 3-6:优化器optimizers
- curlpost-php
- Cannot resolve symbol error
- Beginner redis
- Go learning - dependency injection
- Go learning --- structure to map[string]interface{}
- 详细页返回列表保留原来滚动条所在位置
- DD's command
- Classical concurrency problem: the dining problem of philosophers
猜你喜欢

KDD 2022 | 脑电AI助力癫痫疾病诊断
![[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)](/img/d4/4a33e7f077db4d135c8f38d4af57fa.jpg)
[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)

Cannot resolve symbol error

Opencv classic 100 questions

Analysis of the combination of small program technology advantages and industrial Internet

Common API classes and exception systems

Study diary: February 13, 2022

图解网络:TCP三次握手背后的原理,为啥两次握手不可以?

免费的聊天机器人API

cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
随机推荐
Leetcode:20220213 week race (less bugs, top 10% 555)
MCU realizes OTA online upgrade process through UART
Spark SQL UDF function
Anconda download + add Tsinghua +tensorflow installation +no module named 'tensorflow' +kernelrestart: restart failed, kernel restart failed
The relationship between FPGA internal hardware structure and code
Spark AQE
Notepad + + regular expression replace String
Set data real-time update during MDK debug
How to make your own robot
Natural language processing (NLP) - third party Library (Toolkit):allenlp [library for building various NLP models; based on pytorch]
DD's command
Location based mobile terminal network video exploration app system documents + foreign language translation and original text + guidance records (8 weeks) + PPT + review + project source code
关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号
Idea remotely submits spark tasks to the yarn cluster
Promise
【EI会议分享】2022年第三届智能制造与自动化前沿国际会议(CFIMA 2022)
[Chongqing Guangdong education] reference materials for Zhengzhou Vocational College of finance, taxation and finance to play around the E-era
LeetCode 斐波那契序列
China Taiwan strategy - Chapter 8: digital marketing assisted by China Taiwan
[groovy] JSON string deserialization (use jsonslurper to deserialize JSON strings | construct related classes according to the map set)