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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...