Syslog Transformation DCR not working

Greg Sneed 0 Reputation points
2024-05-29T16:03:21.6833333+00:00

I need assistance troubleshooting a Syslog Transformation DCR used with Microsoft Sentinel. The Transformation DCR looks to work correctly in the Create Transformation wizard, but doesn't actually filter out the records.

I have a few Syslog/CEF forwarders deployed on premises collecting logs and are receiving both CEF and Syslog data. I've followed this guide https://video2.skills-academy.com/en-us/azure/sentinel/cef-syslog-ama-overview?tabs=single#data-ingestion-duplication-avoidance but am still getting CEF data in both the CommonSecurityLog and Syslog tables.

My current Transformation DCR applied to the Syslog table:

source 
| where ProcessName !contains "CEF"

However, running the query below in Log Analytics Workspace (or Sentinel) produces results.

Syslog
| where ProcessName contains "CEF"

As stated above, when I run the transformation filter in the Syslog transformation wizard, it does filter the results as expected. But saving and applying the rule has no effect. The Transformation DCR has been in place for months so I don't think it's a timing issue.

Any help is appreciated!

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,956 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,037 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,076 Reputation points
    2024-06-21T04:46:06.0766667+00:00

    @Greg Sneed, thank you very much for the reply and apologies that this is taking a while to narrow down/resolve.

    I reviewed the scenario, discussion so far and consulted my colleagues in this domain. There is an alternative suggestion to specify the transformation query in the DCR itself. Please check the "DataFlow" details for DCR template

    For Syslog DCR, this option is not enabled when creating the DCR from UI. As an alternative, could you please follow the steps below and hopefully this should help:

    1. Locate the DCR in Azure Portal which collects both Syslog and CEF message, i.e., the DCR where the filter needs to be applied.
    2. Go to "Export template" option as shown below and click "Deploy" User's image
    3. On the next step, click "Edit template". Do not modify the name, resource group, region etc. on this page. User's image
    4. Add the transformKql query in the "dataFlows" of this template as shown below: User's image
    5. Click on "Save" and "Review + Create"

    The steps above do not create a new DCR (unless you have modified the core properties - name, rg, region etc.) and update the existing DCR to include the TransformKql query.

    Hope this helps. Please let me know if you have any questions.

    I have also reached out to the respective teams owning this doc to ensure that it gets updated with clear instructions to avoid confusion.

    0 comments No comments