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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...