-
Notifications
You must be signed in to change notification settings - Fork 444
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
Replace logfile input type with filestream type for container logs #2139
Replace logfile input type with filestream type for container logs #2139
Conversation
Pinging @elastic/integrations (Team:Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
packages/kubernetes/changelog.yml
Outdated
changes: | ||
- description: Use filestream input for container_logs data stream | ||
type: enhancement | ||
link: https://github.com/elastic/integrations/pull/2041 |
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.
nit: wrong PR?
@@ -1,7 +1,7 @@ | |||
title: "Kubernetes container logs" | |||
type: logs | |||
streams: | |||
- input: logfile | |||
- input: filestream |
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.
out of curiosity: will filestreams be available in 7.16 or just in 8.0?
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.
Filestream is available since v7.10 in Filebeat, and since 7.13 in Agent.
symlinks: {{symlinks}} | ||
prospector.scanner.symlinks: {{ symlinks }} | ||
parsers: | ||
- container: |
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.
Nit: stream is set to all by default. You can rewrite the config to be shorter like this:
parsers:
- container: ~
Are these automatically released to install from Kibana when they're merged? or is there a separate release process to wait for? |
…lastic#2139) * Replace logfile input type with filestream type for container logs
What does this PR do?
This PR replaces
logfile
input type for collecting kubernetes container logs with Filestream type which brings many improvements.With filestream input CRI parsing is also supported by default with the use of container parser
Checklist
changelog.yml
file.manifest.yml
file to point to the latest Elastic stack release (e.g.^7.13.0
).Related issues
filestream
input for container logs #1526Screenshots
CRI logs parsed as plain text with
logfile
inputCRI logs parsed correctly with
filestream
input andcontainer
parser