paloalto CEF logs are duplicating to both Syslog and CommonSecurityLog tables

David Broggy 6,371 Reputation points MVP Volunteer Moderator
2023-08-02T17:23:26.3566667+00:00

Hi there,

I have a DCR configured to collect incoming Palo Alto CEF logs and forward them to Sentinel.

The DCR allows only one facility, which tcpdump verifies is the incoming CEF logs:

User's image

The DCR was enabled from within Sentinel so it is correctly collecting the CEF logs and I can see them in the CommonSecurityLog table and in tcpdump:
User's image

However the logs are also being sent to the Syslog table, with the CEF header extracted.

User's image

There is nothing being forwarded from 50-default.conf:

User's image

I don't want these duplicate CEF logs in the Syslog table.

The DCR seems ok.

There is nothing in the rsyslog configuration files I can that would be causing this.

Thoughts?

Microsoft Security | Microsoft Sentinel
{count} votes

3 answers

Sort by: Most helpful
  1. David Broggy 6,371 Reputation points MVP Volunteer Moderator
    2023-08-03T14:16:56.2433333+00:00

    Figured it out, it was a second DCR.

    very odd though since that ama host wasn't associated with one of the 2 DCRs and the one it wasn't associated with was the 'good' DCR.

    Anyways I deleted the other DCR and no more duplicates.

    Finding the culprit was a bit tricky so I blogged about it here:

    https://simple-security.ca/2023/08/03/linux-ama-syslog-agents-how-to-identify-dcrs-that-are-causing-duplicate-data-collection/

    1 person found this answer helpful.
    0 comments No comments

  2. Andrew Blumhardt 10,051 Reputation points Microsoft Employee
    2023-08-03T03:37:12.9933333+00:00

    Do you possibly have the MMA and AMA agent running at the same time? Check the workspace to see if Syslog is flagged in the Legacy Agents Management section.

    There is also a note about duplication in Syslog setup instructions: https://learn.microsoft.com/en-us/azure/sentinel/connect-log-forwarder?tabs=rsyslog#run-the-deployment-script

    I have this running in my lab with no duplication.

    0 comments No comments

  3. Givary-MSFT 35,626 Reputation points Microsoft Employee Moderator
    2023-08-03T15:55:04.46+00:00

    @David Broggy I'm glad that you were able to resolve your issue and thank you for posting your solution with the detailed steps so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue: Palo alto CEF logs are duplicating to both Syslog and CommonSecurityLog tables

    Solution:

    Resolved by @David Broggy detailed troubleshooting steps have been documented in his blog - https://simple-security.ca/2023/08/03/linux-ama-syslog-agents-how-to-identify-dcrs-that-are-causing-duplicate-data-collection/

    Also, will check with our team and get these steps documented in our docs (KB)

    Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.