Log collection through Filebeat daemonset#88
Closed
solsson wants to merge 13 commits into
Closed
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)
solsson
commented
Nov 4, 2017
Contributor
Author
solsson
left a comment
There was a problem hiding this comment.
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.
Contributor
Author
|
Just need to note a few ideas, so I don't have to implement them now :)
|
solsson
added a commit
that referenced
this pull request
Nov 6, 2017
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.
This was referenced Nov 8, 2017
Contributor
Author
|
I find Fluent Bit more promising. See #131. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:jqto do likekubectl logs -fbut for arbitrary filters on pods.Sadly the
kubernetesobject lacks node name (zone name would be great too), a typical record having: