-
Notifications
You must be signed in to change notification settings - Fork 462
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
[Discuss] Usage of event.original #4733
Comments
@andrewkroh @jsvd @ebeahan @ishleenk17 I would really like to get your thoughts on this topic. |
@ruflin for security integrations its pretty straight forward, as that field is often a requirement from our users. Currently all integrations uses the same logic (A boolean in the UI for the integrations), and it already defaults to off. A bit unsure what you mean with overhead since its disabled by default? I added that logic a longer time ago. The reason we also store the data there, and all our ingest pipelines starts with event.original is to also support reindex operations from event.original. |
If there was an issue with apache then its most likely a bug more than anything? |
Thanks @P1llus for chiming in. When I filed the issue I could not find your initial change but I'm glad I have it now. It basically means, the user can decide to opt in.
Is my understanding correct, that for this to work any new integration / data stream has to add it. It is not a generic feature that gets added during build time or in Fleet? |
@ruflin that is the correct assumption, I have wanted to add this to the package-spec, but it is not possibly to write spec for ingest pipelines I believe. So we use it for all security integrations as a requirement during review, and at least all intergrations from observability from before I did the change has that feature. |
The requirements are the following:
|
Lets pull in @kpollich from the Fleet team to this as I would expect some of this magic could happen in Fleet (in combination with package spec). |
Pinging @elastic/fleet (Team:Fleet) |
Hi folks. First off, apologies for the delays in response here. Taking a look at @P1llus's comment above I think these changes make sense, and we'll need to make a few changes in various components of the Fleet platform to support them:
Fleet UI policy editor changes + design work for the elements if needed.
Package spec change. Is this the same as https://github.com/elastic/ingest-dev/issues/2442?
If I understand these points correctly, these will require changes to the ingest pipelines generated during Fleet's package installation process. Seems like from Marius's comments, we already manually adhere to these practices for many integrations (such as those he linked), but we don't globally apply these requirements today. Is that an accurate assessment of this requirement? @nimarezainia - Could we take a look at placing this work on our roadmap? I think the processors piece is something we've already accounted for, but the other changes around |
Thanks for the response @kpollich! I am a bit unsure if some of these components would fit into fleet taking over the management of them (applying them globally), which is why I initially wanted to have them as part of the package-spec instead, though I am always open to ideas. To cover some of the points: For all the points it is important to think about backwards compatibility. For many/most of our integrations, we are currently unable to bump the minimum version of packages, unless strictly required to do so, especially for packages which are still supported by 7.x.
In theory if we would want to implement this on a global level, we would need to move the ingest pipeline logic (which always happens at the start of an ingest pipeline), to the We do indeed manually implement them to this day, as it would allow to also ignore certain packages that would not be able to implement (or don't need) any of this functionality. Let's pick up this discussion at some point, especially the |
It's also good to note that currently, event.original is a blocker for anything wanting to use synthetic sources, as they are not compatible (synthetic source will throw an error). |
As a follow up, I filed elastic/elasticsearch#100320 in Elasticsearch. To simplify things and not having to modify all the integrations, a setting for this should exist in Elasticsearch. I'm proposing to close this issue here. @P1llus Would be great if you could take a look at the linked issue. |
Hi! We just realized that we haven't looked into this issue in a while. We're sorry! We're labeling this issue as |
Over the past few months there have been several discussions around how integration package and in general our data should be using the
event.original
fields from ECS. More and more integrations add it by copying over the message field or similar.The part I would like to discuss here: What is our general recommendation? Do all integrations needs event.original and in general do we recommend it to add it all log events? There are some advantages of having it but there are also disadvantage like storage overhead.
I would argue, in many observability cases the field might not useful. Should a user be able to opt in / opt out of the field? Should each integration have its own logic around how to handle event.original or is this something we should centralise?
Note: There have been previous discussion on the topic but I could not find the links right now. Please provide them in the comments / update issue to have all the info in one place.
Related links
The text was updated successfully, but these errors were encountered: