1、让文件每次都从头读取:
配置参数
input
{ file
{ path => ["/data/test.log"]
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
1、让文件每次都从头读取:
配置参数
input
{ file
{ path => ["/data/test.log"]
start_position => "beginning"
sincedb_path => "/dev/null"
}
}