Skip to content

Commit 4b82fdf

Browse files
authored
Merge pull request #197866 from MsGabsta/patch-2
Update agent-linux.md
2 parents cc3f730 + 3b6dd2d commit 4b82fdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/virtual-machines/extensions/agent-linux.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,10 @@ Default: y
321321
```
322322
Enable or disable auto-update for goal state processing; default is enabled.
323323

324+
## Linux Guest Agent Automatic Logs Collection
325+
As of version 2.7+, The azure linux guest agent has a feature to automatically collect some logs and upload them. This feature currently requires systemd, and utilizes a new systemd slice called azure-walinuxagent-logcollector.slice to manage resources while performing the collection. The log collector's goal is facilitate offline analysis, and therefore produces a ZIP file of some diagnostics logs before uploading them to the VM's Host. The ZIP file can then be retreived by Engineering Teams and Support professionals to investigate issues at the behest of the VM owner. More technical information on the files collected by the guest agent can be found in the azurelinuxagent/common/logcollector_manifests.py file in the [agent's github repository](https://github.com/Azure/WALinuxAgent).
324326

327+
This can be disabled by editing ```/etc/waagent.conf``` updating ```Logs.Collect``` to ```n```
325328

326329
## Ubuntu Cloud Images
327330
Ubuntu Cloud Images utilize [cloud-init](https://launchpad.net/ubuntu/+source/cloud-init) to perform many configuration tasks that would otherwise be managed by the Azure Linux Agent. The following differences apply:

0 commit comments

Comments
 (0)