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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...