官方记录:https://github.com/vectordotdev/vector/issues/2137
目前只支持file、docker
[sources.multiline_logs]
type = "file"
include = [ "/opt/multiline.log" ]
[sources.multiline_logs.multiline]
start_pattern = '^<\d+>'
mode = "halt_before"
condition_pattern = '<\d+>'
timeout_ms = 1000
流氓使用:将获取的信息写入file在读取
标签:读取,pattern,sources,Vector,multiline,file,日志,logs From: https://www.cnblogs.com/xxsdnol/p/17762908.html