Connect Common Event Format Logs to Azure Sentinel
Plan for Common Event Format Connector
Log Analytics readily help in collecting the messages sent by the rsyslog or syslog-ng daemons, where rsyslog is the default that on version 5 of Red Hat Enterprise Linux (RHEL), CentOS, and Oracle Linux version sysklog is not supported for Syslog event collection. Sysklog should be replaced by rsyslog daemon for these versions of Linux.
How it works?
Syslog is an event logging protocol that is common to Linux and when the Log Analytics agent for Linux is installed on your VM or appliance, the installation routine can easily configure the local Syslog daemon to forward messages to the agent on TCP port 25224 which in turn send the message to your Log Analytics workspace over HTTPS, where can be parsed into an event log entry in the Syslog table in Azure Sentinel logs.
Connect your External Solution using the CEF Connector
Designation and configuration of a Linux machine should be done to forward the logs from your security solution to your Azure Sentinel workspace and by using the link provided, you can thoroughly run a script on the designated machine that performs the following tasks:
Installs the Log Analytics agent for Linux and configures it for the following purposes:
- Listening for CEF messages from the built-in Linux Syslog daemon on TCP port 25226
- Sending the messages securely over TLS to your Azure Sentinel workspace, where they are parsed and enriched
Configures the built-in Linux Syslog daemon for the following purposes:
- Listening for Syslog messages from your security solutions on TCP port 514
- Forwarding only the messages it identifies as CEF to the Log Analytics agent on localhost using TCP port 25226
Run the deployment script
To view the connector page:
- Select Data Connectors page.
- Select CEF
- Select the Open Connector page on the preview pane
- Verify that you have the appropriate permissions
- Copy the "sudo wget ..." and run with elevated permissions on the dedicated Linux VM
Using the same machine to forward both plain Syslog and Common Event Format messages
On each source machine that sends logs to the forwarder in CEF format, and Syslog configuration file must be edited to remove the facilities used to send CEF messages.
Comments
Post a Comment