How to Configure Azure Monitor Agent for Syslog and CEF Logs
Question details
The user needs guidance on configuring the Azure Monitor Agent to handle Syslog and CEF logs when transitioning from the legacy Log Analytics Agent.

- Product
- Microsoft Azure
- Device & OS
- Linux
- Scenario
- Migrating to the new Azure Monitor Agent and setting up accurate data collection rules for system logs.
- Observed behavior
- Requires the correct setup procedures for Linux, rsyslog, data collection rules, Syslog, and CEF facilities.
Ensure you have administrative access to your Azure portal and root privileges on the target Linux virtual machines before modifying data collection rules or local syslog services.
Follow Official Microsoft Azure Documentation and Support
Because Azure Monitor Agent is an enterprise Microsoft service, configuration should be done following their official documentation to ensure security and compliance.
The Azure Monitor Agent replaces legacy agents and utilizes Data Collection Rules (DCRs) to manage what data is sent to your Log Analytics workspace. Proper configuration requires setting up these rules in Azure and configuring local Linux services (like rsyslog or syslog-ng).
Navigate to the official Microsoft Learn website and search for the latest 'Azure Monitor Agent Syslog and CEF configuration' documentation.
In the Azure Portal, create and configure Data Collection Rules specifying the exact Syslog facilities and severity levels you need to collect.
Apply the necessary rsyslog or syslog-ng configurations on your Linux machines as dictated by the Microsoft guide.
If you encounter deployment errors or data is not flowing, reach out to Microsoft Business Support or post in Azure-focused community forums for specialized troubleshooting.

Document Your Cloud Architecture with WPS Office
While Azure handles your monitoring and infrastructure, IT professionals need reliable software to document configurations, draft architecture plans, and analyze exported log data. WPS Office is a powerful, free alternative to Microsoft Office that easily handles all your technical documentation needs.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your local administrative workstation.
- 2. Draft IT Documentation: Use WPS Writer to create standard operating procedures (SOPs) and deployment guides for your Azure Monitor Agent configurations.
- 3. Analyze Exported Logs: Export your query results from Azure Log Analytics as CSV files and open them in WPS Spreadsheet for deep offline analysis.

Frequently Asked Questions
What is the difference between the legacy Log Analytics Agent and Azure Monitor Agent?
The Azure Monitor Agent (AMA) replaces the legacy Log Analytics Agent. It provides improved security, cost efficiency, and uses Data Collection Rules (DCRs) to offer granular control over exactly which Syslog and CEF events are collected from your machines.
Can I configure the Azure Monitor Agent on any Linux distribution?
The agent supports a wide variety of major Linux distributions, but you should always verify the specific OS version compatibility in the official Microsoft Azure documentation before attempting deployment, as unsupported versions may fail to forward logs.
Where can I get help if my Syslog data is not appearing in the Azure portal?
First, verify your local rsyslog configurations and ensure your Data Collection Rules are correctly associated with the virtual machine. If the issue persists, contact Microsoft Business Support or utilize dedicated Microsoft Q&A forums for advanced Azure troubleshooting.




