pluggable event pipeline #803
itaysk
started this conversation in
Development
Replies: 1 comment
-
@itaysk this was one of the reasons why I created the pipeliine, back before we had tracee-rules. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this is a concept I experimented with long time ago, I even wrote a POC but probably won't find the code now. I'm opening this to discuss and collect feedback and if needed I'll create an issue.
What
Tracee-eBPF has an event "pipeline" which orchestrates the steps in the way to collecting an event, for example: read, transform, prepare, and print. The idea is to make this pipeline pluggable and allowing anyone to load their own plugin into the pipeline.
Why
We will start to get more and more requests for adding more metadata on events. we would want to support every real use-case but on the other hand, there's a performance cost associated with it. With event processing plugins, (1) user can choose to disable unnecessary plugins to improve performance, and (2) plugins can be built by users, out of tree.
How
Event
struct.Note that this discussion is for user-space enrichment. I'm not proposing ebpf pluggability here. the ebpf code would still need collect ALL the basic information.
Examples
Beta Was this translation helpful? Give feedback.
All reactions