Splunk® App for Microsoft Exchange (EOL)

Deploy and Use the Splunk App for Microsoft Exchange

On October 22 2021, the Splunk App for Microsoft Exchange will reach its end of life. After this date, Splunk will no longer maintain or develop this product. The functionality in this app is migrating to a content pack in Data Integrations. Learn about the Content Pack for Microsoft Exchange.
This documentation does not apply to the most recent version of Splunk® App for Microsoft Exchange (EOL). For documentation on the most recent version, go to the latest release.

Best practices guide

Splunk has put together this Best Practices in the course of developing and using the Splunk App for Microsoft Exchange. You can expect continued updates to this guide as we update the app with feedback from our customers and partners.

General

Synchronize clocks on all servers

To ensure that the Splunk App for Microsoft Exchange sees all data coming in from the hosts in your Exchange environment, confirm that those hosts have their clocks synchronized.

  • On Windows servers, use the Windows Time service to synchronize with an available Network Time Protocol (NTP) server.
  • On *nix servers (if you use *nix servers to host the Splunk App for Microsoft Exchange), use the ntpd client to synchronize with an available NTP server.

Note: The Windows Time service is not a full-fledged NTP client and Microsoft neither guarantees nor supports the accuracy of the service.

Active Directory

Below are some best practices for tuning Active Directory monitoring operations for the Splunk App for Microsoft Exchange.

  • You must make these changes inside the universal forwarders that you have installed on the AD domain controllers in your environment.
  • You must define the changes within the TA-Microsoft-AD add-on that you install into the universal forwarder.
  • If you use a Splunk Enterprise deployment server, create server classes that deploy the add-ons with these updated configurations. Otherwise, make these changes after you have deployed the add-ons into the universal forwarders on the domain controllers.
  • Once you update configurations, you must restart the universal forwarders on each domain controller for the new changes to take effect.

Consider not including a baseline for Active Directory data collection

You don't need to collect a baseline - or dump - of your Active Directory schema to use with the Splunk App for Microsoft Exchange. In fact, doing so can significantly increase the memory usage footprint on your domain controllers and your Splunk indexing volume. Unless you specifically need a baseline of your AD schema, consider turning it off.

  1. Open %SPLUNK_HOME%\etc\apps\TA-Microsoft-AD<version>\local\inputs.conf for editing.
  2. Modify the main admon stanza:
    [admon://NearestDC]
    disabled = 0
    baseline = 0
    

Consider disabling the Active Directory monitoring input on all but a select group of domain controllers

When you collect Active Directory data for the Splunk App for Microsoft Exchange, it is not necessary to enable the Active Directory monitoring input (admon) on every domain controller in your Exchange environment. If you have a number of domain controllers, consider selecting one (or two to three for redundancy) and enabling the admon inputs only on those hosts.

You should still install the TA-Microsoft-AD add-on into each domain controller. You should also install the Splunk Add-on for Windows (Splunk_TA_Windows) onto the host to get all other Windows data for the host into the Splunk App for Microsoft Exchange.

  1. To configure active directory monitoring on a specific domain controller, open %SPLUNK_HOME%\etc\apps\TA-Microsoft-AD\local\inputs.conf for editing.
  2. In the file, disable the main admon stanza.
    [admon://NearestDC]
    disabled = 1
    
  3. Create a new Active Directory monitoring stanza and set the targetDc attribute to the NetBIOS name of the controller on which you want to run admon.
    For example, if the host on which you want to run admon is named SF-DC2, configure a new admon stanza like the following:
    [admon://ADMonitoring]
    targetDC = SF-DC2
    monitorSubtree = 1
    baseline = 0
    index = msad
    disabled = 0
    

Consider specifying a domain controller for Security Event Log Security ID (SID) translations

The Splunk Enterprise event log monitor translates security identifiers (SIDs) by default for the Security Event Log. Translation turns SIDs (the very long string that begins with S-1-5-21 and ends with a long jumble of numbers) into friendly account names.

The Splunk App for Microsoft Exchange does not need SID translation in the Security Event Log. This is because Active Directory events already contain this information. To reduce the amount of memory that domain controllers use to perform SID translation, configure the Splunk Add-on for Windows (Splunk_TA_Windows) to disable SID translation.

  1. To disable SID translation, open %SPLUNK_HOME%\etc\apps\Splunk_TA_Windows\local\inputs.conf for editing.
  2. In this file, modify the Security Event Log stanza.
    [WinEventLog://Security]
    evt_resolve_ad_obj = 0
    

If you require SID translation, you can limit both its scope and where it occurs by setting the current_only and evt_dc_name attributes:

[WinEventLog://Security]
evt_dc_name = SF-DC2 # only use SF-DC2 to translate SIDs
current_only = 1  # only translate SIDs for events that come in for new events

Consider limiting AD object access events to reduce impact on license usage

When you enable auditing on your AD domain controllers, the DCs create Security Event Code 4662 events each time a user accesses any kind of AD object. (On Windows Server 2003 and Server 2003 R2, the event code is 566). This can greatly impact license volume and potentially cause violations.

To address the problem, limit the indexing of these event codes by blacklisting some of the events which contain them (the app uses the events for Group Policy monitoring but no other purpose.)

This procedure requires that you use Splunk universal forwarder version 6.1 or later. If you cannot use this version of the universal forwarder, then this strategy does not apply to you.

Last modified on 07 September, 2016
Troubleshoot the Splunk App for Microsoft Exchange   Release notes

This documentation applies to the following versions of Splunk® App for Microsoft Exchange (EOL): 3.4.0


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters