Connect Syslog Data Sources to Azure Sentinel
Plan for the Syslog Connector
Log Analytics also helps in collecting the messages sent by the rsyslog or syslog-ng daemons, where rsyslog is the default that's on version 5 of Red Hat Enterprise Linux (RHEL), CentOS, and Oracle except for the Linux version sysklog Syslog event collection and the rsyslog daemon should be installed and configured to replace sysklog for these versions of Linux.
How it works?
Collect data from Linux-based sources using Syslog
- Select Data connector page.
- Select Syslog.
- Then select the Open connector page on the preview pane.
- Verify that you have the appropriate permissions.
- Select the Choose where to install the agent option to expand the instructions.
For an Azure Linux VM:
- Install agent on Azure Linux Virtual Machine.
- Select the link Download and install agent for Azure Linux VMs.
- Select Connect on teh row of the Linux VM.
For any other Linux machine:
- Install agent on non-Azure Linux Machine.
- Select the link Download and install agent for non-Azure Linux machines.
- In the Agents management blade, select the Linux servers tab.
- Copy the command for Download and onboard agent for Linux and run it on your Linux machine.
- The page also displays your Workspace ID, primary key, and secondary key.
Configure the log analytics agent
- Access the Log Analytics Workspace Advanced Settings page-
- From the Syslog Data connector page, select Open your Workspace advanced settings configuration.
- From the Azure Sentinel portal, select Settings in the Configuration area. Select Workspace Settings Tab. Select Advanced settings in the Settings area.
- Select Data.
- Select Syslog.
- Select the option Apply below configuration to my machines
- Enter the facility name and select + for each facility.
If you want to configure Syslog manually on each Linux agent, then uncheck the box Apply below configuration to my machines. The following facilities are supported with the Syslog collector:
- kern
- user
- daemon
- auth
- syslog
- lpr
- news
- uucp
- cron
- authpriv
- ftp
- local0-local7
Parse syslog data with KQL
In the Logs window, create query, select the Save button, and select Function from the drop-down, after that specify function name and alias. For example, if we create the Function named MyParser, we then can access the table using the name MyParser.
Comments
Post a Comment