Skip to content

[BUG]: 相同的ilogtail 配置,在k8s 里跟宿主机nohup 运行的结果对相同的日志内容处理的结果不一样,如下 #916

Discussion options

You must be logged in to vote

问题,解决,主要是在使用source 插件的时候,file 会自动匹配多行文本,但是docker 插件不会匹配多行文本,需要人工配置正则去匹配多行,https://ilogtail.gitbook.io/ilogtail-docs/data-pipeline/input/service-docker-stdout#shu-ju-chu-li-can-shu 看下文档里的示例5 有详细的案例

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by messixukejia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #913 on June 08, 2023 06:40.