logo
search
Others

How to Configure Azure Monitor Agent for Syslog and CEF Logs

Steven ParkerSteven Parker Oct 23, 2026 868 views

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.

How to Configure Azure Monitor Agent for Syslog and CEF Logs
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.
Before you start

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.

Solution 1Recommended

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).

1
Consult Microsoft Learn

Navigate to the official Microsoft Learn website and search for the latest 'Azure Monitor Agent Syslog and CEF configuration' documentation.

2
Configure Data Collection Rules (DCR)

In the Azure Portal, create and configure Data Collection Rules specifying the exact Syslog facilities and severity levels you need to collect.

3
Update Linux Configurations

Apply the necessary rsyslog or syslog-ng configurations on your Linux machines as dictated by the Microsoft guide.

4
Contact Business Support

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.

Follow Official Microsoft Azure Documentation and Support
Enterprise Support: This process involves enterprise-level cloud infrastructure. Always test data collection rules in a staging environment before deploying to production servers.
Free Microsoft Office alternative

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. 1. Download and Install: Get WPS Office for free from the official website and install it on your local administrative workstation.
  2. 2. Draft IT Documentation: Use WPS Writer to create standard operating procedures (SOPs) and deployment guides for your Azure Monitor Agent configurations.
  3. 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.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Easily open, filter, and analyze large exported CSV log files using WPS Spreadsheet.Free, lightweight, and fast to install on Windows, macOS, and Linux systems.Familiar user interface means zero learning curve for IT teams transitioning from Microsoft Office.
microsoft office alternative - wps office

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.