-
Notifications
You must be signed in to change notification settings - Fork 735
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
Log collection through Filebeat daemonset #88
Conversation
but changes naming and namespace, to run alongside -raw.
Error: failed to start container "filebeat": Error response from daemon: error while creating mount source path '/kubernets-filebeat-state': mkdir /kubernets-filebeat-state: read-only file system
lots and lots of messages like 2017/11/04 16:16:03.383326 indexing.go:58: DBG Using container id: %!(EXTRA string=509e0dd0dcfdf526779c116ca3634c31c1b58102e762671ee31ab41febe22e3e) 2017/11/04 16:16:03.386038 indexing.go:52: DBG Incoming source value: %!(EXTRA string=/var/lib/docker/containers/509e0dd0dcfdf526779c116ca3634c31c1b58102e762671ee31ab41febe22e3e/509e0dd0dcfdf526779c116ca3634c31c1b58102e762671ee31ab41febe22e3e-json.log)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contrary to what 504911a#diff-81195533b894e72927dc12f0d5d58b35L14 suggests we still get lots and lots of INFO Same file found as symlink and originap. Skipping file: /var/lib/docker/containers/fa80887d5c1a580a35c298708c610d4c098e2b173d48d60172440303dd6df364/fa80887d5c1a580a35c298708c610d4c098e2b173d48d60172440303dd6df364-json.log
in logs.
Combined with the fact that that 504911a#diff-81195533b894e72927dc12f0d5d58b35R13 breaks e04a403 we get lots and lots of logs.
Just need to note a few ideas, so I don't have to implement them now :)
|
Addresses #88 (comment). I deemed it safe to assume that operational daemonset pods never co-exist on a node. Tests edenhill/kcat#123, as does 53f355a.
I find Fluent Bit more promising. See #131. |
Pending native kafka support for fluent-bit (fluent/fluent-bit#94 or a go plugin) I'm evaluating filebeat which has kafka-support as an intermediate step for aggregation to ELK.
Candidate for merge to v3.0.0 (#84), with advantages over the
tail
-based solution:jq
to do likekubectl logs -f
but for arbitrary filters on pods.Sadly the
kubernetes
object lacks node name (zone name would be great too), a typical record having: