Auditbeat under k8s fails to enrich short-lived processes #22238
Labels
Auditbeat
bug
containers
Related to containers use case
discuss
Issue needs further discussion.
Stalled
Team:Integrations
Label for the Integrations team
Team:Platforms
Label for the Integrations - Platforms team
Please include configurations and logs if available.
For confirmed bugs, please report:
The sample manifest for k8s provided in deploy/kubernetes/auditbeat-kubernetes.yaml uses the
add_process_metadata
andadd_kubernetes_metadata
to enrich events based on theprocess.pid
field:beats/deploy/kubernetes/auditbeat-kubernetes.yaml
Lines 32 to 44 in 2474f5b
The drawback of this approach is that it's sensitive to timing. If the process identified by
process.pid
has terminated by the time theadd_process_metadata
processor runs, thecontainer.id
lookup will fail and no k8s metadata will be added to the event.This is causing some processes to not be to associated to a container at all, or the association to happen randomly.
The text was updated successfully, but these errors were encountered: