-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[Fleet] Support reporting policy status #82298
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
@nchaulet thanks for creating this ticket, I'm excited to see this feature. I'm wondering if we should add the These are just some early thoughts, but I'm thinking about how this could be extendible later. |
@kevinlog for now this will probably be saved on the agent saved object the agent id is probably not mandatory here. |
Is there any reason not to go the ES route directly? |
The change will impact Endpoint Agent and Fleet for now? |
@nchaulet I've been thinking about this more and I have another question. Just for clarification, the Elastic Agent would accept a status update from underlying subprocesses such as the Endpoint or Beats, correct? So, for instance, the Endpoint would report a status directly to the Agent and then the Agent would report that status. Is this correct? FYI @ferullo we can chat more offline, but I'm thinking that we could take the policy response and report that as part of the status. That way, config errors in the Endpoint can be known at a higher level. And then if we wanted to show more details in the app, we could use the input ID or agent ID to go and query another API. |
Yes it's correct, endpoint would report a status ( |
@nchaulet As we no longer have agent events with Fleet Server, is status reporting still a concern? |
Description
The current way we report status (from agent events) is not optimal, we are not able to have status per inputs|integrations.
Agent status should be responsible of reporting their status: Agent are going to report their status during checkin
We should allow agents to report status per input.
Status will be persisted on the agent status Saved Object
Format details
We could use the following format
In a case of a dynamic input it will be something like
The text was updated successfully, but these errors were encountered: