-
Notifications
You must be signed in to change notification settings - Fork 406
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION]: input_file插件采集容器日志,没有携带metadata信息 #1814
Comments
后续使用release版本可行吗? |
@Takuka0311 抱歉回复晚了,我使用2.0.7还是一样的问题,没有metadata |
目前怀疑是输出的时候,协议有些问题。在2.0之前,所有k8smeta相关的信息都是在log的content里,在任意flusher处输出都能看到;2.0版本之后,k8smeta相关都在log的tag里,输出到非sls的目标需要转换协议搞一下。 协议转换:https://ilogtail.gitbook.io/ilogtail-docs/developer-guide/log-protocol/converter 目前具体的使用场景可以看HTTP flusher的Convert.Protocol参数:https://ilogtail.gitbook.io/ilogtail-docs/plugins/flusher/flusher-http |
感谢回复,我学习一下 |
我进行了对比验证,基本可以确认是这个问题了。我配置了两个采集配置,仅flusher不同 |
您现在用的flusher是?如果没有适配Convert,可以参考flusher_kafka_v2、flusher_http实现一下 |
@Takuka0311 测试已经成功,非常感谢 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
ilogtail通过daemonset部署,版本commit为
d413393c79eae41c95bfce03b1e2c519372892ba
,最后一个commit为2024年9月15日,采集配置如下,有两个问题The text was updated successfully, but these errors were encountered: