-
Notifications
You must be signed in to change notification settings - Fork 184
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
Endpoint data volume reduction mechanisms #5771
Comments
Leaving this note as a reminder that the Endpoint functionality that deduplicates network events might need to be added to the 8.15 release notes. I can take care of release-noting the other features mentioned in the description for 8.16, if needed. |
👀 |
This'll become available in serverless whenever it's done, so we'll need to publish content in the ESS docs since the doc link in serverless will point to that. Consider adding a tag "Available in serverless, coming to 8.16" etc. |
Setting the following to
|
FYI @joepeeples @gabriellandau I added a section Not report MD5 and SHA1 hashes by default to this issue's description. |
I’ve been drafting docs for these settings, and still need a bit more info on the “Minimize
|
Hi 👋 I just merged https://github.com/elastic/endpoint-dev/pull/14677, which reduces the default amount of information in the Events will have the host field reduced to
|
@joepeeples since this documentation will be linked to from Kibana is there a plan in place for making sure that link will take users to something that clearly explains the change. What I mean is, as we evolve documentation we'll want to keep it clear what changed in 8.16 even if users are coming from a newer stack. Is that best handled by having a special 8.16 changes page, a clear 8.16 section on a "data reduction approaches" page, or having future Kibanas just always link to the 8.16 documentation so we don't have to worry about future changes? |
@ferullo that last comment made me think. You're right anyone upgrading from < 8.16, to >= 8.16 ideally should be prompted about the changes. When upgrading 8.16+ to 8.16++ that information is irrelevant as it's nothing new. Just my 2 cents. |
I started a really rough draft of a page where we could hopefully capture all of the nuance of our event capture system. It could replace this existing page. Should we collab there? |
@joepeeples network event aggregation is being pushed to 8.17, I added strike-throughs to this comment: #5771 (comment). Process event aggregation is still 8.16 |
@joepeeples we've decided we need to delay changing Endpoints default behavior in 8.16 until a later release. The advanced options will still exist and be tunable by users but the defaults we be hard coded to match 8.15 and prior behavior for now. |
@ferullo Sorry I missed this earlier (too many notifications!). I think we'll be OK if we keep linking to the This might be clearer once I have a full draft to share (WIP PR). I'm planning to use version badges for each feature like this: We can add whatever text we want into the tooltips for more explanation, and also add a callout on the page about upgrade situations like |
We'll pause on docs for the advanced settings, and document everything once the default behavior is changed in a later release. |
Per Slack convo with the EDR team:
|
We've recently been reducing Endpoint's data volume and three approaches are worth documenting for users so they can understand how to turn them off (i.e. restore the old behavior) if they want. Can this please be documented on a new page, with the info below.
We need to link to this documentation from an 8.16 Kibana so the documentation needs to be finished before 8.16 ships. We also need to confirm all Endpoint work is completed in 8.16 and if not update the documentation.
1. Deduplicate network events.
Starting in 8.15, when repeated network connections are detected from the same process Endpoint will not produce network events for subsequent connections. There are two advanced options to disable this and restore the 8.14 and prior behavior.
[linux|mac|windows].advanced.events.deduplicate_network_events
: This will completely disable deduplication.[linux|mac|windows].advanced.events.deduplicate_network_events_below_bytes
This will enable deduplication for connections below X bytes but disable it for connections above X bytes. (In other words, suppress repeated connections for small data transfers but always emit events for large transfers)2. Minimize
host.*
fieldset in event documentsStarting in 8.16, Endpoint will only include a small subset of the data in the
host.*
fieldset in event documents. Fullhost.*
information will still be included in documents written to themetrics-*
index pattern and in Endpoint alerts.Users should take note of how a lack of some
host.*
information may affect their event filters.@brian-mckinney can you comment on this issue with the advanced option name to turn this off and restore the 8.15 and earlier behavior?
3. Merge process and network events
Starting in 8.16, Endpoint will merge process create/terminate (Windows) and fork/exec/end (macOS/Linux) events when possible. Effectively, for short lived processes only a single event will be emitted, containing the process details from when the process terminated.
Starting in 8.16, Endpoint will merge network connection/termination (Windows/macOS/Linux) for when possible for short lived connections.
Users should take note of how this merging might affect their event filters. Notably, for merged events
event.action
will be an array containing all actions merged into the single event (e.g.event.action=[fork, exec, end]
. For instance, if a user has an event filter to drop all fork events (event.action : fork
) the filter will need to be modified or it'll also drop all merged events.@nicholasberlin can you comment on this issue with the advanced options need to turn this off and restore the 8.15 and earlier behavior?
4. Not report MD5 and SHA1 hashes by default
As outlined in this Kibana PR elastic/kibana#193912 (it's been closed but only because it'll be merged via different PR) Endpoint will stop reporting MD5 and SHA1 hashes by default. These will still be reported if any Trusted Apps, Blocklist, Event Filters, or Alert Exceptions require them. In addition to lowering data volume this will reduce Endpoint's CPU.
The advanced options to restore the old behavior are described in the aforementioned PR.
cc @nfritts @caitlinbetz @dasansol92 @joe-desimone @gabriellandau @intxgo
Tasks
The text was updated successfully, but these errors were encountered: