I am using Fleet agent policy with kubernetes integration to collect logs from conatiners running in EKS cluster. The elastic agent are running as standalone DaemonSets in this cluster and all agent configurations are managed through Fleet Agent policies
The current issue being faced is that when container suddenly stops, the agent stops reading its last logs from the log file
Is there any timeout or any configs we need to set, so that elastic agent can keep looking for logs even after container stops for few minutes?