-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Support of processors across integrations through Fleet #139900
Comments
Pinging @elastic/fleet (Team:Fleet) |
Hi @ishleenk17 - I just want to clarify the expectations for the intended work on Fleet's side with this issue. Are we adding a Can you just clarify my understanding above to make sure we have the right idea about the requirements here? Thank you! |
@nimarezainia Assigning this to you since you're helping with definition and priority here on related issues. |
Yes @kpollich , the expectation is to have processors type of box for every integration. This leads to further set of questions:
|
I've read through these issues and threads of comments therein
As I understand, the core ask of the Fleet team is that we have an input for If I'm correctly understanding the intent here, then I'd answer this question:
with yes. This would be technically possible to add functionality in Fleet such that the processors input appears for every data stream. I don't know whether it's the best way to do things or if we could simply add tooling for Elastic Agent integration maintainers to add global variables like this to all their data stream in each If we could allow integration maintainers to "bulk edit" integrations to add a processors variable to every data stream, we would not need to commit any Fleet resources to supporting code changes here: everything would be captured in the integration source code. On to the other questions here
We'd probably want to deprecate the If an older version of Kibana installed a newer version of a package where processors has been removed, this would result in the user no longer being able to configure the processors variable. Something for integration maintainers to be mindful of with version constraints on their package releases.
Directly managing policies via YML is an intriguing prospect, but one that I think would be a far-out future vision. I think it'd be interesting to rethink the policy editor experience entirely with a "raw YML" editor baked in, but bolting one on to the existing policy editor seems risky and error-prone for the time being. |
Hello @kpollich , rather than ignoring data_stream level in favor of top level, why dont you consider merging both to a single list. This way probably will keep consistency with old versions and also we dont change current implementation on data stream level. What do you think?
This is constant discussion between UX and feature enhancement balance I guess. As long as we keep giving customers more freedom, indeed it is more possible to have broken configs, but ... I guess at some point we need to narrow the gap between standalone and managed is not it? So training our customers is better I think to use the new UI So from technical side do you see any big problem to add more features inside UI? |
I'm a little confused by this. I didn't realize we were talking about global integration-level processors in addition to the already-supported data-stream-level I was under the impression that
Fleet's policy editor is absolutely massive. I recorded myself just scrolling through the Kubernetes integration and clicking around to demonstrate just how much stuff lives in this UI today: Screen.Recording.2022-09-27.at.9.10.48.AM.movWe've been piling features onto this UI for a long time now, and it's becoming quite difficult to maintain. We're also not providing a very good UX with this interface in general. Adding on raw YML editing for every field or something like that is an intriguing idea, but it would be virtually impossible to take on without rethinking this UI from the ground up. I'd like to very diligent about what we add to this UI and how to ease the maintainability burdens it presents. I'd love to chat more about this in the future, but I think this is quite out of scope for this current issue. |
@kpollich i'd like to revive this conversation, we briefly touched on in the past. For the sake of consistency amongst all the integrations, adding the processor input for each datastream, in my opinion, would be beneficial if it can be done via fleet. Requirements:
I don't want to offer a processor at a Global integration level as you rightly point out it could be very problematic in regards to order of precedence. We have a project to add processors globally to the policy and that addresses the main use case. |
Describe the feature:
Processors to be added by default to all integrations through Fleet.
Describe a specific use case for the feature:
Having processors through Fleet helps in below ways:
The text was updated successfully, but these errors were encountered: