Skip to content

Commit 1a7d888

Browse files
authored
Syslog/CEF AMA - upd dedup section w/ info about transformKQL
Fix for Docs issue reported by Anurag Singh. "...DCR does not have option to specify transform query in the UI...." AB#270874
1 parent 6d1aa20 commit 1a7d888

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 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,17 @@ 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. On the DCR in the Azure portal, select **Export template** > **Edit template**. Add KQL transformation to filter out CEF messages 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+
For more information, see [Tutorial: Edit a data collection rule (DCR)](../azure-monitor/essentials/data-collection-rule-edit.md).
108+
109109
## Next steps
110110

111111
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)