当前位置:网站首页>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 .
边栏推荐
- 详细页返回列表保留原来滚动条所在位置
- Spark DF增加一列
- MIT doctoral thesis | robust and reliable intelligent system using neural symbol learning
- View class diagram in idea
- Room cannot create an SQLite connection to verify the queries
- Ffmpeg captures RTSP images for image analysis
- DD's command
- 常用API类及异常体系
- MCU通过UART实现OTA在线升级流程
- 几百行代码实现一个 JSON 解析器
猜你喜欢
[groovy] JSON serialization (convert class objects to JSON strings | convert using jsonbuilder | convert using jsonoutput | format JSON strings for output)
Analysis of the combination of small program technology advantages and industrial Internet
如何制作自己的機器人
Spark SQL空值Null,NaN判断和处理
Beginner redis
Problems and solutions of converting date into specified string in date class
[groovy] XML serialization (use markupbuilder to generate XML data | create sub tags under tag closures | use markupbuilderhelper to add XML comments)
Idea远程提交spark任务到yarn集群
After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?
Idea remotely submits spark tasks to the yarn cluster
随机推荐
[Chongqing Guangdong education] Chongqing Engineering Vocational and Technical College
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
程序员成长第九篇:真实项目中的注意事项
cf:H. Maximal AND【位运算练习 + k次操作 + 最大And】
Spark-SQL UDF函数
How to make your own robot
小程序容器可以发挥的价值
Synchronized and reentrantlock
notepad++正則錶達式替換字符串
State mode design procedure: Heroes in the game can rest, defend, attack normally and attack skills according to different physical strength values.
The detailed page returns to the list and retains the original position of the scroll bar
《强化学习周刊》第52期:Depth-CUPRL、DistSPECTRL & Double Deep Q-Network
Atcoder beginer contest 254 [VP record]
MYSQL GROUP_ The concat function realizes the content merging of the same ID
NLP generation model 2017: Why are those in transformer
数据分析思维分析方法和业务知识——分析方法(二)
Spark DF adds a column
详细页返回列表保留原来滚动条所在位置
孤勇者
China Taiwan strategy - Chapter 8: digital marketing assisted by China Taiwan