-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Match by container id by default in add_kubernetes_metadata #17432
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
Pinging @elastic/siem (Team:SIEM) |
at the same time it would be great to decouple |
This would be a completely separate discussion 😃 Is there any reason why you would like to see them decoupled? This coupling comes because Auditbeat reuses a lot of Metricbeat code. Auditbeat could be seen as a Metricbeat but with different modules. Having them as completely separate codebases would lead to lots of duplications in code, in testing... |
One reason for the split could be that it's confusticating for new contributors. When I started to analyse the code I expected to see all common things in Another thing could be cleaner dependency tree and codebase. Common (more than one beat) functionalities would go to |
Yes, it can make sense to move all the common code to libbeat, but this would be a big refactor at this point, and not related to this issue.
This is also a different discussion 🙂 Take into account that multiple Beats can be combined as a single security solution, and this is not going to change. For example logs are going to continue being collected by Filebeat. |
Any roadmap?
Fair point |
There is no plan for a refactor like this at the moment afaik. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the enhancement:
Since 7.7,
add_process_metadata
can use PIDs of processes running in containers to add thecontainer.id
field.From the
container.id
,add_kubernetes_metadata
can use thecontainer
indexer and thefields
matcher to enrich the event with kubernetes fields.This gives a lot of possibilities in Auditbeat, where auditd events contain process information, we could make it the default indexers and matchers in Auditbeat. We can consider doing it in other beats too.
Describe a specific use case for the enhancement or feature:
Ease setup of Auditbeat in Kubernetes (see https://github.com/elastic/beats/pull/17431/files for an example configuration to do it now).
Related to #9668.
The text was updated successfully, but these errors were encountered: