From 4fd3a337ae365a5ac4ef8c44fa5038b8d5a3d619 Mon Sep 17 00:00:00 2001 From: Roberto Seldner Date: Tue, 14 Nov 2023 14:27:45 -0700 Subject: [PATCH] Update install-layout.asciidoc to reflect logging changes introduced in 8.6.0 (#631) * Update install-layout.asciidoc Updated widget to reflect the logging changes from 8.6.0 (v2 architecture) to close this issue: https://github.com/elastic/ingest-docs/issues/175 Related changes: https://github.com/elastic/elastic-agent/pull/1701 * Update docs/en/ingest-management/tab-widgets/install-layout.asciidoc * Update docs/en/ingest-management/tab-widgets/install-layout.asciidoc * Update docs/en/ingest-management/tab-widgets/install-layout.asciidoc * Update docs/en/ingest-management/tab-widgets/install-layout.asciidoc * Update docs/en/ingest-management/tab-widgets/install-layout.asciidoc --------- Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com> --- .../tab-widgets/install-layout.asciidoc | 34 +++++++------------ 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/docs/en/ingest-management/tab-widgets/install-layout.asciidoc b/docs/en/ingest-management/tab-widgets/install-layout.asciidoc index 5379b0f93..d7dad85d1 100644 --- a/docs/en/ingest-management/tab-widgets/install-layout.asciidoc +++ b/docs/en/ingest-management/tab-widgets/install-layout.asciidoc @@ -7,11 +7,11 @@ Main {agent} configuration `/Library/Elastic/Agent/fleet.enc`:: Main {agent} {fleet} encrypted configuration -`/Library/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent-json.log`:: -Log files for {agent}footnote:lognumbering[Logs file names end with a date and optional number: log-date.ndjson, log-date-1.ndjson, and so on as new files are created during rotation.] -`/Library/Elastic/Agent/data/elastic-agent-*/logs/default/*-json.log`:: -Log files for {beats} shippersfootnote:lognumbering[] -`/usr/local/bin/elastic-agent`:: + +`/Library/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent.ndjson`:: +Log files for {agent} and {beats} shippers footnote:lognumbering[Logs file names end with a date (`YYYYMMDD`) and optional number: `elastic-agent-YYYYMMDD.ndjson`, `elastic-agent-YYYYMMDD-1.ndjson`, and so on as new files are created during rotation.] +`/usr/bin/elastic-agent`:: + Shell wrapper installed into PATH You can install {agent} in a custom base path other than `/Library`. When installing {agent} with the `./elastic-agent install` @@ -26,10 +26,8 @@ command, use the `--base-path` CLI option to specify the custom base path. Main {agent} configuration `/opt/Elastic/Agent/fleet.enc`:: Main {agent} {fleet} encrypted configuration -`/opt/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent-json.log`:: -Log files for {agent}footnote:lognumbering[] -`/opt/Elastic/Agent/data/elastic-agent-*/logs/default/*-json.log`:: -Log files for {beats} shippers +`/opt/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent.ndjson`:: +Log files for {agent} and {beats} shippers footnote:lognumbering[] `/usr/bin/elastic-agent`:: Shell wrapper installed into PATH @@ -45,10 +43,8 @@ command, use the `--base-path` CLI option to specify the custom base path. Main {agent} configuration `C:\Program Files\Elastic\Agent\fleet.enc`:: Main {agent} {fleet} encrypted configuration -`C:\Program Files\Elastic\Agent\data\elastic-agent-*\logs\elastic-agent-json.log`:: -Log files for {agent}footnote:lognumbering[] -`C:\Program Files\Elastic\Agent\data\elastic-agent-*\logs\default\*-json.log*`:: -Log files for {beats} shippers +`C:\Program Files\Elastic\Agent\data\elastic-agent-*\logs\elastic-agent.ndjson`:: +Log files for {agent} and {beats} shippers footnote:lognumbering[] You can install {agent} in a custom base path other than `C:\Program Files`. When installing {agent} with the `.\elastic-agent.exe install` command, use the `--base-path` CLI option to specify the custom base path. @@ -62,10 +58,8 @@ command, use the `--base-path` CLI option to specify the custom base path. Main {agent} configuration `/etc/elastic-agent/fleet.enc`:: Main {agent} {fleet} encrypted configuration -`/var/lib/elastic-agent/data/elastic-agent-*/logs/elastic-agent-json.log`:: -Log files for {agent}footnote:lognumbering[] -`/var/lib/elastic-agent/data/elastic-agent-*/logs/default/*-json.log*`:: -Log files for {beats} shippers +`/var/lib/elastic-agent/data/elastic-agent-*/logs/elastic-agent.ndjson`:: +Log files for {agent} and {beats} shippers footnote:lognumbering[] `/usr/bin/elastic-agent`:: Shell wrapper installed into PATH @@ -79,10 +73,8 @@ Shell wrapper installed into PATH Main {agent} configuration `/etc/elastic-agent/fleet.enc`:: Main {agent} {fleet} encrypted configuration -`/var/lib/elastic-agent/data/elastic-agent-*/logs/elastic-agent-json.log`:: -Log files for {agent}footnote:lognumbering[] -`/var/lib/elastic-agent/data/elastic-agent-*/logs/default/*-json.log*`:: -Log files for {beats} shippers +`/var/lib/elastic-agent/data/elastic-agent-*/logs/elastic-agent.ndjson`:: +Log files for {agent} and {beats} shippers footnote:lognumbering[] `/usr/bin/elastic-agent`:: Shell wrapper installed into PATH