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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...