Skip to main content

Windows Active Directory Inventory Source

A Windows Active Directory Inventory Source collects inventory data from Active Directory Database. This includes information such as computer names, user names, email addresses, and location information.

Cloud SIEM uses information from Windows Active Directory Inventory to enrich log data to help provide additional context and build a more complete profile of your network, for example, by connecting the dots between a location, and the servers, workstations, and users in that location.


The Installed Collector with the Windows Active Directory Inventory Source can be installed on a Domain Controller or a server that is a member of the domain.

This Source is available with Collector version 19.351-4 and later.

The following information is collected:

  • Username
  • Email address
  • Departments to which employee belongs
  • Employee’s manager
  • Security groups to which the employee is assigned, which allows Cloud SIEM to determine the privileges the user has on the company network

Install a single Active Directory Source to collect inventory data from the entire AD domain.

To configure a Windows Active Directory Inventory Source:

  1. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
  2. Find the Installed Collector you'd like to add the Source to. Click Add and then choose Add Source from the pop-up menu.
  3. Click Windows Active Directory Inventory.
    Windows Active Directory Inventory icon
  4. Set the following:
    Windows Active Directory Inventory Source
    • Name. Type the name for the new Source. 
    • Description is optional.
    • Fetch Interval. By default, Active Directory is queried for data every 24 hours (86400 seconds). You can select a more frequent interval, but it shouldn't be more frequent than every 10 hours (36000 seconds).
    • Source Category. Enter a string used to tag the output collected from this Source with searchable metadata. For example, typing web_apps tags all the logs from this Source in the sourceCategory field, so running a search on _sourceCategory=web_apps would return logs from this Source. For more information, see Metadata Naming Conventions and our Best Practices: Good and Bad Source Categories. You can define a Source Category value using system environment variables, see Configuring sourceCategory using variables below.
    • Fields. Click the +Add Field link to define the fields you want to associate, each field needs a name (key) and value. You need to set the following fields.
    • _siemVendor: Microsoft
    • _siemProduct: Windows
    • _siemForward: true
    • _siemDataType: Inventory
      • green check circle.png A green circle with a check mark is shown when the field exists in the Fields table schema.
      • orange exclamation point.png An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo that does not exist in the Fields schema it is ignored, known as dropped.
    • Active Directory Attributes. (Optional)
      • Additional Attributes. Provide a semi-colon separated list of the LDAP Names of Active Directory attributes to report, in addition to the default list:
        • Username
        • Email address
        • Departments to which employee belongs
        • Employee’s manager
        • Security groups to which the employee is assigned
      • Excluded Attributes. Provide a semi-colon separated list of the LDAP Names of Active Directory attributes to exclude from the report.
      • Exclude Distinguished Name Suffixes. Provide a semi-colon separated list of Distinguished Name suffixes. When set, the Source won't ingest any records that contain the Distinguished Name suffixes specified.
      • Directory Filter. Specifies a filter to use when searching for Domain Objects in Active Directory.
    • Advanced Options for Logs.
      • Enable Timestamp Parsing. Disable this option so that timestamps are not parsed. Disabling this option will stamp logs with the time at which the messages are received. For more information, see Message time and receipt time.
    • Processing Rules for Logs. Create any processing rules you'd like for the new Source.
  5. Click Save.

You can return to this dialog and edit the settings for the Source at any time.

Configuring sourceCategory using variables

Collector versions 19.216-22 and later allow you to define Source Category and Source Host metadata values with system environment variables from the host machine.


Not all Sources can define a Source Host value.

When configuring your Source, specify the system environment variables by prepending sys. and wrapping them in double curly brackets {{}} in this form:


Where VAR_NAME is an environment variable name, for example:


You can use multiple variables, for example:




The example above uses a hyphen (-) character to separate variable components. Separator characters are not required. Curly brackets and spaces are not allowed. Underscores and hyphens are recommended.

You can incorporate text in the metadata expression, for example:


If a user-defined variable doesn’t exist, that portion of the metadata field will be blank.

Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.