Skip to content
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 Installation Layout logging information seems to be outdated #175

Closed
rseldner opened this issue Apr 26, 2023 · 1 comment
Closed

Comments

@rseldner
Copy link
Contributor

file: installation-layout.asciidoc
https://www.elastic.co/guide/en/fleet/current/installation-layout.html

It appears that as of 8.6.0, we log to logs/elastic-agent-*.ndjson for both agent and beats shippers.

But Widget in installation layout doc contains outdated -json.log references:

/Library/Elastic/Agent/data/elastic-agent-*/logs/elastic-agent-json.log
Log files for Elastic Agent[1]

/Library/Elastic/Agent/data/elastic-agent-/logs/default/-json.log
Log files for Beats shippers[1]

The footnote to that widget seems correct though.

[1] 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.

Here are the logs directory contents on an 8.6.0 Linux tar install with Filebeat, metricbeat, and auditbeat in use:

root@lubuntu:/opt/Elastic/Agent/data/elastic-agent-b79a5d/logs# ls -l /opt/Elastic/Agent/data/elastic-agent-b79a5d/logs
total 10428
-rw------- 1 root root 10484891 Apr 25 20:27 elastic-agent-20230425-1.ndjson
-rw------- 1 root root    81316 Apr 26 12:29 elastic-agent-20230425-2.ndjson
-rw------- 1 root root    98710 Apr 25 12:12 elastic-agent-20230425.ndjson

There isn't a separate directory for Beats shippers. They are consolidated to the elastic-agent-*.ndjson file.

See the same in 8.7.0 and on a MacOS install.

rseldner added a commit that referenced this issue Oct 27, 2023
Updated widget to reflect the logging changes from 8.6.0 (v2 architecture) to close this issue: 
#175

Related changes:
elastic/elastic-agent#1701
kilfoyle added a commit that referenced this issue Nov 14, 2023
…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: 
#175

Related changes:
elastic/elastic-agent#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 <[email protected]>
mergify bot pushed a commit that referenced this issue Nov 14, 2023
…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:
#175

Related changes:
elastic/elastic-agent#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 <[email protected]>
(cherry picked from commit 4fd3a33)
kilfoyle pushed a commit that referenced this issue Nov 14, 2023
…in 8.6.0 (#631) (#683)

* Update install-layout.asciidoc

Updated widget to reflect the logging changes from 8.6.0 (v2 architecture) to close this issue:
#175

Related changes:
elastic/elastic-agent#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 <[email protected]>
(cherry picked from commit 4fd3a33)

Co-authored-by: Roberto Seldner <[email protected]>
@rseldner
Copy link
Contributor Author

fixed with #631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant