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
Describe the bug I want to capture logs from path /var/log/pods///*.log but based on documentation it's not clear whether this is possible
To Reproduce
helm fetch stable/fluent-bit --untar
values.yaml
input: tail: memBufLimit: 5MB parser: docker path: /var/log/pods/*/*/*.log systemd: enabled: false filters: systemdUnit: - docker.service - kubelet.service - node-problem-detector.service maxEntries: 1000 readFromTail: true tag: host.*
helm install --name fluentbit stable/fluent-bit -f fluent-bit/values.yaml --set backend.es.host=targer.server.path
ERROR:
[2019/08/27 10:28:41] [ warn] [filter_kube] invalid pattern for given tag kube.var.log.pods.ad7566ef-c35d-11e9-936a-ee2ce51991c9.couchdb.0.log
I can tail /var/log/pods/POD_UID/*/*.log with filebeat with below config but I don't find any reference for POD UID for fluentbit
/var/log/pods/POD_UID/*/*.log
filebeat.yml: | filebeat.autodiscover: providers: - type: kubernetes include_pod_uid: true in_cluster: true hints.enabled: true include_annotations: '*' templates: - condition.regexp: kubernetes.container.name: '.+' config: - type: docker combine_partial: true cri.parse_flags: true cri.force: true containers: path: "/var/log/pods/${data.kubernetes.pod.uid}/" ids: - "${data.kubernetes.container.name}"
The text was updated successfully, but these errors were encountered:
I find the /var/log/pods path working really well, with some benefits compared to /var/log/containers, using fluent.bit 1.8.3 in fluent/fluent-bit-kubernetes-logging#90. Significant commits are fluent/fluent-bit-kubernetes-logging@3dd95af and fluent/fluent-bit-kubernetes-logging@cbb9dae.
Sorry, something went wrong.
No branches or pull requests
Bug Report
Describe the bug
I want to capture logs from path /var/log/pods///*.log but based on documentation it's not clear whether this is possible
To Reproduce
helm fetch stable/fluent-bit --untar
values.yaml
pathhelm install --name fluentbit stable/fluent-bit -f fluent-bit/values.yaml --set backend.es.host=targer.server.path
ERROR:
I can tail
/var/log/pods/POD_UID/*/*.log
with filebeat with below config but I don't find any reference for POD UID for fluentbitThe text was updated successfully, but these errors were encountered: