We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
container.yaml: | inputs: - Type: service_docker_stdout Stdout: true Stderr: false flushers: - Type: flusher_elasticsearch Addresses: - https://efk-es-http.elastic-system.svc:9200 Index: service_docker_stdout_%{+yyyyMMdd} Convert: ProtocolFieldsRename: time: '@timestamp' Authentication: PlainText: Username: logtail Password: xxxx TLS: Enabled: True CAFile: /mnt/elastic-internal/elasticsearch-certs/tls.crt HTTPConfig: MaxIdleConnsPerHost: 10 ResponseHeaderTimeout: Second
上述配置在以 cri-dockerd 运行时的 k8s 机器能够正常采集日志,换成 containerd 运行时采集不到。
The text was updated successfully, but these errors were encountered:
结论:目前只支持CRI v1alpha2,暂不支持 V1 版本
Sorry, something went wrong.
No branches or pull requests
container.yaml: |
inputs:
- Type: service_docker_stdout
Stdout: true
Stderr: false
flushers:
- Type: flusher_elasticsearch
Addresses:
- https://efk-es-http.elastic-system.svc:9200
Index: service_docker_stdout_%{+yyyyMMdd}
Convert:
ProtocolFieldsRename:
time: '@timestamp'
Authentication:
PlainText:
Username: logtail
Password: xxxx
TLS:
Enabled: True
CAFile: /mnt/elastic-internal/elasticsearch-certs/tls.crt
HTTPConfig:
MaxIdleConnsPerHost: 10
ResponseHeaderTimeout: Second
上述配置在以 cri-dockerd 运行时的 k8s 机器能够正常采集日志,换成 containerd 运行时采集不到。
The text was updated successfully, but these errors were encountered: