How to modify host status or agent status 5mins to 2 mins when its offline

How to modify host status or agent status 5mins to 2 mins when its offline.
I have configured elastic agent service in windows.
Please post snaps if possible

I have modified elasticagent.yml ( c:\programfiles\elastic\ea.yml)
this my yml

agent.retry:

enabled determines whether retry is possible. Default is false.

enabled: true

retries_count specifies number of retries. Default is 3.

Retry count of 1 means it will be retried one time after one failure.

retries_count: 3

delay specifies delay in ms between retries. Default is 30s

delay: 30s

max_delay specifies maximum delay in ms between retries. Default is 300s

max_delay: 2m

The agent retry options control how often the agent attempts to communicate with fleet-server. It does not effect if the agent shows in Kibana.

Currently there is no way to change it, however the 8.7 release will have a new option in Kibana to control agent inactivity: [Fleet] Replace unenrollment timeout with UI-only inactivity timeout · Issue #143455 · elastic/kibana · GitHub

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.