Skip to content
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

Schedule collection of diagnostics bundles/longer time-outs before giving up generating diagnostic bundles. #172828

Open
WiegerElastic opened this issue Dec 7, 2023 · 4 comments
Labels
enhancement New value added to drive a business result Team:Elastic-Agent-Control-Plane Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@WiegerElastic
Copy link

Describe the feature:
I would like to have the capability to request a diagnostics bundle that gets generated as soon as the endpoint comes online. Right now, there's a very strict timeout on generating the bundles, so you have to be actively monitoring whether or not an endpoint is online to get the bundle.

Describe a specific use case for the feature:
Getting diagnostic bundles when someone might not be working in your timezone, but does have an issue. E.g. I can request the bundle at 03.00 PM my time. The endpoint comes online 01.00 AM my time and the bundle gets collected. I can then easily review the bundle at 09.00 AM my time (or whenever I get around to it).

@juliaElastic

@WiegerElastic WiegerElastic added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 7, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic juliaElastic added the enhancement New value added to drive a business result label Dec 7, 2023
@nimarezainia
Copy link
Contributor

I changed the title to be a bit more specific. The outcome we want is to put a watch on the agent to perform an action when it's back online. I think there may be other applications of this type of watcher.

@ycombinator
Copy link
Contributor

Just to clarify, this issue feels like two separate enhancements with different scopes and probably priorities as well:

  • Users should be able to configure a longer timeout for generating diagnostic bundles, and
  • Users should be able to schedule a diagnostic bundle generation request.

I believe what @WiegerElastic wants is more of the first one? Please confirm if that's sufficient, and we'll re-title this issue accordingly. And if there's a use case for the second one, we'll file a separate issue for it.

@nimarezainia
Copy link
Contributor

Regarding the second option: Just to clarify, the user knows there's an issue on agent X. Agent X however is currently offline. the user issues the action to collect diagnostics bundle. Sending actions to an offline agent. So I do agree that this should be a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Elastic-Agent-Control-Plane Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

5 participants