Deploy the Splunk Add-on for Microsoft Active Directory
Deploy the Splunk Add-on for Microsoft Active directory if you're using TA_windows version 5.0.1. The deployment server (the Splunk Enterprise instance that manages and updates configurations and apps for universal forwarders in a Splunk Enterprise deployment) must be made aware of the Splunk Add-on for Microsoft Active Directory before you can deploy it to deployment clients.
This means that, during this part of the setup, you will define new deployment classes at the deployment server to account for these differences.
To users who are using TA-windows v6.0.0: TA-AD has merged with TA-windows. See Download and configure the Splunk Add-on for Windows version 6.0.0 or later.
If you're using Splunk_TA_windows version 6.0.0 or later, you don't need Splunk_TA_microsoft_ad or Splunk_TA_microsoft_dns. Splunk_TA_microsoft_ad and Splunk_TA_microsoft_dns are merged with Splunk_TA_windows in version 6.0.0.
Best practice: Only deploy the Splunk Add-on for Microsoft Active Directory to a select group of domain controllers
Consider the number of domain controllers that you deploy the Active Directory add-ons. Best practice recommends that only one domain controller in an Active Directory domain or forest receives the add-on, with one or two others receiving it as a backup.
Place the Splunk Add-on for Microsoft Active Directory in the deployment apps directory on the deployment server.
- Open a command prompt on the deployment server/indexer.
- Copy the add-on folder from their current location to the deployment apps directory:
> Copy-Item -Path C:\Downloads\Splunk_TA_microsoft_ad -Destination "C:\Program Files\Splunk\etc\deployment-apps -Recurse -Force
- Reload the deployment server configuration.
> cd \Program Files\Splunk\bin > .\splunk reload deploy-server
- From a web browser, log into Splunk Enterprise on the deployment server.
- In the system bar, select Settings > Forwarder Management.
- Click the Apps tab. The Splunk_TA_microsoft_ad* add-ons should appear in the list of apps.
Define a new server class for domain controllers
In this procedure, you will define a new server class for Windows Server 2008 domain controllers. In this server class, you will deploy the Splunk_TA_microsoft_ad add-on. Later, you will assign this server class to a universal forwarder that runs atop a host that runs Windows Server 2008.
- In the "Splunk_TA_microsoft_ad" add-on entry in the list, click Edit. Splunk Enterprise loads the "Edit App: Splunk_TA_microsoft_ad" page.
- Under "Server Classes", click +.
- In the pop-up that appears, click New Server Class.
- In the "New Server Class" dialog box that pops up, enter "Domain Controllers".
Note: You can enter a unique name for the server class that describes the hosts that belong in the class, and that you will remember.
- Click Save. Splunk Enterprise saves the class and loads the information page for the server class you just created.
Note: The page indicates that you have not added any apps or clients yet. This is okay, as you have just created the class.
- Click Add apps. Splunk Enterprise loads the Edit Apps page.
- Locate and click the "Splunk_TA_microsoft_ad" add-on in the Unselected Apps pane on the left. The app moves to the "Selected Apps" pane on the right.
- Click Save. Splunk Enterprise saves the configuration and returns you to the server class information page.
Add domain controller clients to the server class
If you have not installed a universal forwarder on a Windows domain controller, do so now. See "Install a universal forwarder on each Windows host".
- In the server class information page, click Add clients. Splunk Enterprise loads the "Edit clients" page.
- In the "Include (whitelist)" field, enter the host name of the domain controller.
- Click Preview. Splunk Enterprise updates the host list at the bottom and places check marks on the hosts that match what you entered in the "Include (whitelist)" field.
- Click Save. Splunk Enterprise adds the host to the server class and deploys the add-on to the deployment client on the Active Directory host.
Add domain controller clients to the "universal forwarder" server class
In the same way that you added the domain controller deployment client to the "domain controllers" server class to deploy the Active Directory add-on, add the client to the "universal forwarder" server class. This does two things:
- Deploys the Splunk Add-on for Windows to the domain controller, which lets the client collect Windows data from the domain controller.
- Deploys the "send to indexer" app to the domain controller, which lets the client forward Windows and Active Directory data to the Splunk App for Windows Infrastructure indexer.
To add the domain controller to the "universal forwarders" server class, see "Add the universal forwarder to the server class."
You have now deployed the Active Directory add-on onto your domain controller deployment client. In the future, you can use this procedure to deploy the add-on(s) to additional client(s).
Next, you will confirm that Active Directory data arrives at the indexer.
Download and configure the Splunk Add-on for Microsoft Active Directory
Confirm and troubleshoot AD data collection
This documentation applies to the following versions of Splunk® App for Windows Infrastructure: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4