All Apps and Add-ons

Azure Monitor Active Directory via Event Hub

sumitkathpal292
New Member

Hi All,

Anyone successful able to pull the logs (Sign-in and Audit logs) of Active Directory via Azure Event Hub. If yes which method you follow.

Any other recommendation method. Thanks in advance

0 Karma
1 Solution

jconger
Splunk Employee
Splunk Employee

Yes. Here's how:

  1. Install the Azure Monitor Add-on https://github.com/Microsoft/AzureMonitorAddonForSplunk/wiki (don't forget to get the node.js and Python dependencies)
  2. Setup all your Azure stuff (Event Hubs, Azure AD applications, Key Vault, SPNs)
  3. Send your Azure AD sign-in and audit logs to an Event Hub
  4. Modify your hubs.json file in the add-on -> https://github.com/microsoft/AzureMonitorAddonForSplunk/wiki/Configuration-of-Splunk#hubsjson
    • Basically, after you enable the Azure AD logs going to an event hub, check the event hubs in the Azure portal for the name of the actual hub(s). It will be something like insights-logs-signinlogs and insights-logs-auditlogs
  5. Setup and Azure Monitor Diagnostic Logs input on the Splunk instance where you installed the Azure Monitor add-on
  6. Done

View solution in original post

jconger
Splunk Employee
Splunk Employee

Yes. Here's how:

  1. Install the Azure Monitor Add-on https://github.com/Microsoft/AzureMonitorAddonForSplunk/wiki (don't forget to get the node.js and Python dependencies)
  2. Setup all your Azure stuff (Event Hubs, Azure AD applications, Key Vault, SPNs)
  3. Send your Azure AD sign-in and audit logs to an Event Hub
  4. Modify your hubs.json file in the add-on -> https://github.com/microsoft/AzureMonitorAddonForSplunk/wiki/Configuration-of-Splunk#hubsjson
    • Basically, after you enable the Azure AD logs going to an event hub, check the event hubs in the Azure portal for the name of the actual hub(s). It will be something like insights-logs-signinlogs and insights-logs-auditlogs
  5. Setup and Azure Monitor Diagnostic Logs input on the Splunk instance where you installed the Azure Monitor add-on
  6. Done

sumitkathpal292
New Member

Thanks @jconger it worked.

Can we define sourcetype for sign and audit logs as currently sourcetype is defined which is amdl:diagnosticLogs.

0 Karma

jconger
Splunk Employee
Splunk Employee
0 Karma

sumitkathpal292
New Member

Thanks for quick reply @jconger , you mean i need to update "MICROSOFT.AADIAM/AUDIT" OR "MICROSOFT.AADIAM/SIGNIN" with ?

"MICROSOFT.AADIAM/AUDIT": "amdl:aadal:audit",
"MICROSOFT.AADIAM/SIGNIN": "amdl:aadal:signin"

0 Karma

sumitkathpal292
New Member

@jconger did u got change to have a look ?

0 Karma

sumitkathpal
Explorer

@jconger please help.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...