我们采用pod 打label 的方式,自动收集日志,然后部分日志收集到了,部分没有收集到 #922
-
|
配置如下 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 3 replies
-
|
微信群里的信息都补充下吧 |
Beta Was this translation helpful? Give feedback.
-
|
这个logtail_plugin.LOG可以发一下,这个需要没有采集的pod对应的节点上ilogtail-ds里的日志。 |
Beta Was this translation helpful? Give feedback.
-
|
我先把filter 先去掉看下效果 |
Beta Was this translation helpful? Give feedback.
-
|
去掉了filter 还是不行,我没有看到采集,新的日志如下 |
Beta Was this translation helpful? Give feedback.
-
|
上边我截取出来的如下的一小段日志 我们的pod 名字叫vcp-bq-kjckg |
Beta Was this translation helpful? Give feedback.
-
|
ilogtail.LOG |
Beta Was this translation helpful? Give feedback.
-
|
2023-06-15 12:55:40 [INF] [service_wrapper.go:38] [Run] [config#/usr/local/ilogtail/./user_yaml_config.d/saas_stdout.yaml,] start run service:&{map[] map[] map[] map[] map[] map[] map[ilogtail:enable] map[] map[] map[] 3000 1000 60 \d+-\d+-\d+.* 3000 5000 5242880 60 131072 true false true map[] map[] map[] map[] 0xc000788640 0xc000384a80 0xc001786a50 0xc000a08858 0xc000a08870 map[] map[] {{} 0 0} 0xc0005ad270 map[] map[] 0 false} 从这里看应该是有5个容器在采集,其中哪个没有采集到呢? |
Beta Was this translation helpful? Give feedback.
-
|
主机上看下var/lib/docker/containers/93d0b7c03528be68c04dbe629b733a41400c98f552cd8d2c3f53719fee4effef/93d0b7c03528be68c04dbe629b733a41400c98f552cd8d2c3f53719fee4effef-json.log 这个文件有内容吗 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
搜嘎 |
Beta Was this translation helpful? Give feedback.

你这个都是stderr的日志,你在采集配置中设置成false了