system/socket: Allow running multiple instances by grouping kprobes by PID#20325
Merged
adriansr merged 1 commit intoelastic:masterfrom Jul 30, 2020
Merged
system/socket: Allow running multiple instances by grouping kprobes by PID#20325adriansr merged 1 commit intoelastic:masterfrom
adriansr merged 1 commit intoelastic:masterfrom
Conversation
This updates the system/socket dataset to group installed kprobes by PID instead of using a generic `auditbeat` group. This allows multiple instances of Auditbeat to run with the system/socket dataset enabled (default) avoiding collision of kprobes.
Contributor
|
Pinging @elastic/siem (Team:SIEM) |
Contributor
marc-gr
approved these changes
Jul 30, 2020
Contributor
marc-gr
left a comment
There was a problem hiding this comment.
LGTM, not sure if there is an easy way (or is worth it) to have an integration test for this though? mostly to prevent a regression
3 tasks
3 tasks
3 tasks
v1v
added a commit
to v1v/beats
that referenced
this pull request
Jul 30, 2020
…ne-2.0 * upstream/master: [Elastic Agent] Add skeleton for client/server for agent control protocol (elastic#20163) Auditbeat: Allow multiple instances by grouping kprobes by PID (elastic#20325) [Filebeat][Fortinet] Remove pre populated event.timezone (elastic#20273)
v1v
added a commit
to v1v/beats
that referenced
this pull request
Jul 31, 2020
…allation
* upstream/master:
Check expand_event_list_from_field when json in map[string]interface{} format (elastic#20370)
[docs] Remove deprecated security roles (elastic#20162)
Modify doc in app_insights metricset (elastic#20185)
[Elastic Agent] Add skeleton for client/server for agent control protocol (elastic#20163)
Auditbeat: Allow multiple instances by grouping kprobes by PID (elastic#20325)
[Filebeat][Fortinet] Remove pre populated event.timezone (elastic#20273)
Add an explicit system test for processes on unix systems (elastic#20320)
melchiormoulin
pushed a commit
to melchiormoulin/beats
that referenced
this pull request
Oct 14, 2020
…ic#20325) This updates the system/socket dataset to group installed kprobes by PID instead of using a generic `auditbeat` group. This allows multiple instances of Auditbeat to run with the system/socket dataset enabled (default) avoiding collision of kprobes.
leweafan
pushed a commit
to leweafan/beats
that referenced
this pull request
Apr 28, 2023
…ic#20325) (elastic#20354) This updates the system/socket dataset to group installed kprobes by PID instead of using a generic `auditbeat` group. This allows multiple instances of Auditbeat to run with the system/socket dataset enabled (default) avoiding collision of kprobes. (cherry picked from commit 30de776)
leweafan
pushed a commit
to leweafan/beats
that referenced
this pull request
Apr 28, 2023
…ic#20325) (elastic#20355) This updates the system/socket dataset to group installed kprobes by PID instead of using a generic `auditbeat` group. This allows multiple instances of Auditbeat to run with the system/socket dataset enabled (default) avoiding collision of kprobes. (cherry picked from commit 30de776)
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.
What does this PR do?
This updates the system/socket dataset to group installed kprobes by PID instead of using a generic
auditbeatgroup.This allows multiple instances of Auditbeat to run with the system/socket dataset enabled (default) avoiding collision of kprobes.
Why is it important?
Currently is not possible to run more than one Auditbeat instance under Linux due to kprobes colliding.
Checklist
I've tested this in Ubuntu 18.04 / kernel 4.15 and it can run multiple instances without trouble.
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Related issues
Closes #20303