[QUESTION]:ilogtail 如何采集k8s容器的tag 上报到sls #1490
Answered
by
quzard
wenlong139
asked this question in
Help
Replies: 5 comments
-
你的logtail部署在容器里吗 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是的 ,部署在k8s |
Beta Was this translation helpful? Give feedback.
0 replies
-
我用开源版main编译后,在docker里测试了一下,可以有tag |
Beta Was this translation helpful? Give feedback.
0 replies
-
enable: true
inputs:
- Type: input_file
FilePaths:
- /logs/*
EnableContainerDiscovery: true
ContainerFilters:
IncludeEnv:
name: echo
flushers:
- Type: flusher_sls
Region: cn-hangzhou
Endpoint: cn-hangzhou.log.aliyuncs.com
Project: yitao-hangzhou
Logstore: test |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
messixukejia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用商业版上报k8s容器日志 会有tag
问下社区版logtail 采集日志 如何上报容器的tag
Beta Was this translation helpful? Give feedback.
All reactions