From 60cc702ad67ec940a723c076b00ed7544b71b293 Mon Sep 17 00:00:00 2001 From: Michel Laterman <82832767+michel-laterman@users.noreply.github.com> Date: Tue, 19 Oct 2021 08:31:30 -0700 Subject: [PATCH] Add diagnostics collect command to elastic-agent. (#28461) Add diagnostics collect command to elastic-agent. Add diagnostics collect command to elastic-agent. This option will create an archieve with information that can help with debugging the elastic-agent. The information includes process metadata (same as the output of elastic-agent diagnostics), config information, the rendered policy, and any local log files. (cherry picked from commit 99ebf3e4375c4dbee0ee281889e804b13a62a463)