Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
309 stars 255 forks source link

Improvements to AMA LogCollector #1977

Closed peizhen-w closed 1 month ago

peizhen-w commented 2 months ago

Small improvements to AMA Log collector:

  1. List file permissions and directory permissions in amalinux.out https://supportability.visualstudio.com/AzureMonitor/_wiki/wikis/AzureMonitor.wiki/1030827/Troubleshooting-AMA-Agent-data-collection-issues-due-to-file-system-permissions?anchor=proper-directory-permissions
  2. tail syslog instead of copying all syslog to avoid filling up the disk