-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Elastic Agent][question] How to trigger Unhealthy status for testing? #25321
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
Pinging @elastic/agent (Team:Agent) |
@urso What do you think should be the experience here? should we allow some kind of debug tool? |
@michalpristas or @blakerouse Any tips for them? |
I don't really have a way to do it in Elastic Agent. Could possible come up with a API call that would allow you to manipulate the |
@blakerouse Good point idea, I hadn't considered that. @manishgupta-qasource / @muskangulati-qasource You can run the following query in
Forcing it like this will probably trigger other unintended effects, so please use this for UI testing only 😉 |
Hi @jen-huang, Thank you for providing the steps for the same. Our query is now resolved and we were successful in updating the agent status from healthy to Unhealthy & back to healthy!! Please find below the whole testing details. Build Details:
Refer Screenshots: Hence, we closing this ticket. Thanks!! |
As per below comment
elastic/kibana#84962 (comment)
We need to make Agent into Unhealthy state to test the filters. Can a team member advise on the easiest way to trigger an Unhealthy state on an agent?
The text was updated successfully, but these errors were encountered: