Skip to content

Commit 64c2a3b

Browse files
committed
Feedback
1 parent 0e89c10 commit 64c2a3b

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

articles/sentinel/connect-cef-syslog.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ ms.author: lwainstein
1010

1111
# Stream logs in both the CEF and Syslog format
1212

13-
This article describes how to stream and filter logs in both the CEF and Syslog format to your Microsoft Sentinel workspace from multiple on-premises appliances. If your organization uses some appliances that ingest logs over CEF and other appliances that ingest logs over Syslog, you can use this process to ingest both types of data without duplications.
13+
This article describes how to stream and filter logs in both the CEF and Syslog format to your Microsoft Sentinel workspace from multiple appliances. This article is useful in the following scenario:
1414

15-
During this process, you use the Azure Monitor Agent (AMA) and Data Collection Rules (DCRs). With DCRs, you can filter the logs before they're ingested, for quicker upload, efficient analysis, and querying. Data Collection Rules (DCRs) to filter the logs before they're ingested, for quicker upload, efficient analysis, and querying.
15+
- You're using a Linux log collector to forward both Syslog and CEF events to your Microsoft Sentinel workspaces using the Azure Monitor Agent (AMA).
16+
- You want to ingest Syslog events in the Syslog table and CEF events in the CommonSecurityLog table.
17+
18+
During this process, you use the AMA and Data Collection Rules (DCRs). With DCRs, you can filter the logs before they're ingested, for quicker upload, efficient analysis, and querying. Data Collection Rules (DCRs) to filter the logs before they're ingested, for quicker upload, efficient analysis, and querying.
1619

1720
> [!IMPORTANT]
1821
>
@@ -36,19 +39,23 @@ Before you begin, verify that you have:
3639

3740
To avoid data duplication, make sure that the appliance that sends Syslog data and the appliance that sends CEF data do so on different facilities, for example `local1` and `local2`. Make sure that each DCR you configure in the next steps uses the relevant facility for CEF or Syslog respectively.
3841

42+
- If you plan to use the same log forwarder machine to forward Syslog messages as well as CEF, to avoid the duplication of events to the Syslog and CommonSecurityLog tables: On each source machine that sends logs to the forwarder in CEF format, edit the Syslog configuration file to remove the facilities used to send CEF messages. This way, the facilities sent in CEF won't also be sent in Syslog.
43+
- If changing the facility for the source appliance is not applicable, you can use ingest time transformations to filter out CEF messages from the Syslog stream to avoid duplication:
44+
45+
```kusto
46+
source |
47+
where ProcessName !contains “\“CEF\””
48+
```
49+
3950
## Create a DCR for your CEF logs
4051
4152
- Create the DCR via the UI:
4253
1. [Open the connector page and create the DCR](connect-cef-ama.md#open-the-connector-page-and-create-the-dcr).
4354
1. [Define resources (VMs)](connect-cef-ama.md#define-resources-vms).
4455
1. [Select the data source type and create the DCR](connect-cef-ama.md#select-the-data-source-type-and-create-the-dcr).
4556
46-
> [!NOTE]
47-
> **Using the same machine to forward both plain Syslog *and* CEF messages**
48-
>
49-
> If you plan to use the same log forwarder machine to forward Syslog messages as well as CEF, in order to avoid the duplication of events to the Syslog and CommonSecurityLog tables:
50-
>
51-
> On each source machine that sends logs to the forwarder in CEF format, you must edit the Syslog configuration file to remove the facilities that are being used to send CEF messages. This way, the facilities that are sent in CEF won't also be sent in Syslog.
57+
> [!IMPORTANT]
58+
> Make sure to correctly [separate your facilities](#separate-your-facilities) (review the options in this section).
5259
5360
1. [Run the installation script](connect-cef-ama.md).
5461

0 commit comments

Comments
 (0)