You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/agents/azure-monitor-agent-troubleshoot-linux-vm-rsyslog.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@ ms.custom: references_region
7
7
ms.reviewer: shseth
8
8
---
9
9
# Syslog troubleshooting guide for Azure Monitor Linux Agent
10
-
### Overview of Azure Monitor Linux Agent syslog collection and supported RFC standards
10
+
11
+
Overview of Azure Monitor Linux Agent syslog collection and supported RFC standards:
11
12
12
13
- AMA installs an output configuration for the system syslog daemon during the installation process. The configuration file specifies the way events flow between the syslog daemon and AMA.
13
14
- For `rsyslog` (most Linux distributions), the configuration file is `/etc/rsyslog.d/10-azuremonitoragent.conf`. For `syslog-ng`, the configuration file is `/etc/syslog-ng/conf.d/azuremonitoragent.conf`.
@@ -19,6 +20,8 @@ ms.reviewer: shseth
19
20
> [!NOTE]
20
21
> AMA uses local persistency by default, all events received from `rsyslog` / `syslog-ng` are queued in `/var/opt/microsoft/azuremonitoragent/events` if they fail to be uploaded.
21
22
23
+
## Issues
24
+
22
25
### Rsyslog data not uploaded due to full disk space issue on Azure Monitor Linux Agent
### Issue: rsyslog default configuration logs all facilities to /var/log/syslog
79
+
### Rsyslog default configuration logs all facilities to /var/log/syslog
77
80
On some popular distros (for example Ubuntu 18.04 LTS), rsyslog ships with a default configuration file (`/etc/rsyslog.d/50-default.conf`) which will log events from nearly all facilities to disk at `/var/log/syslog`.
78
81
79
82
AMA doesn't rely on syslog events being logged to `/var/log/syslog`. Instead, it configures rsyslog to forward events over a socket directly to the azuremonitoragent service process (mdsd).
@@ -93,7 +96,7 @@ If you're sending a high log volume through rsyslog, consider modifying the defa
93
96
```
94
97
2.`sudo systemctl restart rsyslog`
95
98
96
-
### Issue: Azure Monitor Linux Agent Event Buffer is Filling Disk
99
+
### Azure Monitor Linux Agent Event Buffer is Filling Disk
97
100
If you observe the `/var/opt/microsoft/azuremonitor/events` directory growing unbounded (10 GB or higher) and not reducing in size, [file a ticket](#file-a-ticket) with **Summary** as 'AMA Event Buffer is filling disk' and **Problem type** as 'I need help configuring data collection from a VM'.
0 commit comments