Skip to content

Commit e72e0b9

Browse files
Merge pull request #280773 from cwatson-cat/patch-39
Syslog/CEF AMA - upd dedup section w/ info about transformKQL
2 parents 3f3bd39 + 4474ba8 commit e72e0b9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

articles/sentinel/cef-syslog-ama-overview.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: yelevin
55
ms.author: yelevin
66
ms.topic: concept-article
77
ms.custom: linux-related-content
8-
ms.date: 06/27/2024
8+
ms.date: 07/12/2024
99
#Customer intent: As a security operator, I want to understand how Microsoft Sentinel collects Syslog and CEF messages with the Azure Monitor Agent so that I can determine if this solution fits my organization's needs.
1010
---
1111

@@ -95,17 +95,16 @@ Using the same facility for both Syslog and CEF messages might result in data in
9595

9696
To avoid this scenario, use one of these methods:
9797

98-
- **If the source device enables configuration of the target facility**: On each source machine that sends logs to the log 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 aren't also be sent in Syslog. Make sure that each DCR you configure in the next steps uses the relevant facility for CEF or Syslog respectively.
98+
- **If the source device enables configuration of the target facility**: On each source machine that sends logs to the log 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 aren't also be sent in Syslog. Make sure that each DCR you configure uses the relevant facility for CEF or Syslog respectively.
9999

100100
To see an example of how to arrange a DCR to ingest both Syslog and CEF messages from the same agent, go to [Syslog and CEF streams in the same DCR](connect-cef-syslog-ama.md?tabs=api#syslog-and-cef-streams-in-the-same-dcr).
101101

102-
- **If changing the facility for the source appliance isn't applicable**: Use an ingest time transformation to filter out CEF messages from the Syslog stream to avoid duplication, as shown in the following query example.
102+
- **If changing the facility for the source appliance isn't applicable**: After you create the DCR, add ingestion time transformation to filter out CEF messages from the Syslog stream to avoid duplication. See [Tutorial: Edit a data collection rule (DCR)](../azure-monitor/essentials/data-collection-rule-edit.md). Add KQL transformation similar to the following example:
103103

104-
```kusto
105-
source |
106-
where ProcessName !contains "CEF"
104+
```json
105+
"transformKql": " source\n | where ProcessName !contains \"CEF\"\n"
107106
```
108-
107+
109108
## Next steps
110109

111110
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)