Netwrix Auditor Add-On For Splunk Quick Start Guide
Netwrix Auditor Add-On For Splunk Quick Start Guide
The information in this publication is furnished for information use only, and does not constitute a
commitment from Netwrix Corporation of any features or functions, as this publication may describe
features or functionality not applicable to the product release or version you are using. Netwrix makes no
representations or warranties about the Software beyond what is provided in the License Agreement.
Netwrix Corporation assumes no responsibility or liability for the accuracy of the information presented,
which is subject to change without notice. If you believe there is an error in this publication, please report
it to us in writing.
Netwrix is a registered trademark of Netwrix Corporation. The Netwrix logo and all other Netwrix product
or service names and slogans are registered trademarks or trademarks of Netwrix Corporation. Microsoft,
Active Directory, Exchange, Exchange Online, Office 365, SharePoint, SQL Server, Windows, and Windows
Server are either registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries. All other trademarks and registered trademarks are property of their respective
owners.
Disclaimers
This document may contain information regarding the use and installation of non-Netwrix products.
Please note that this information is provided as a courtesy to assist you. While Netwrix tries to ensure
that this information accurately reflects the information provided by the supplier, please refer to the
materials provided with any non-Netwrix product and contact the supplier for confirmation. Netwrix
Corporation assumes no responsibility or liability for incorrect or incomplete information provided about
non-Netwrix products.
2/12
Table of Contents
1. Introduction 4
3.1. Prerequisites 6
3/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
1. Introduction
1. Introduction
This guide is intended for the first-time users of Netwrix Auditor Integration API add-ons. It can be used for
evaluation purposes, therefore, it is recommended to read it sequentially, and follow the instructions in the
order they are provided. After reading this guide you will be able to:
l Review results
NOTE: The add-on works only in combination with Netwrix Auditor so this guide covers a basic procedure
for running the add-on and assumes that you have Netwrix Auditor installed and configured in
your environment. For installation scenarios, data collection options, as well as detailed information
on Integration API, refer to:
Netwrix Auditor includes applications for Active Directory, Azure AD, Exchange, Office 365, Windows file
servers, EMC storage devices, NetApp filer appliances, SharePoint, Oracle Database, SQL Server, VMware,
and Windows Server. Empowered with a RESTful API and user activity video recording, the platform delivers
visibility and control across all of your on-premises or cloud-based IT systems in a unified way.
Major benefits:
To learn how Netwrix Auditor can help your achieve your specific business objectives, refer to Netwrix
Auditor Best Practices Guide.
4/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
The add-on enriches your SIEM data with actionable context in human-readable format, including the
before and after values for every change and data access attempt, both failed and successful. Aggregating
data into a single audit trail simplifies analysis, makes your SIEM more cost effective, and helps you keep
tabs on your IT infrastructure.
Implemented as a PowerShell script, this add-on facilitates the audit data transition from Netwrix Auditor
to Splunk. All you have to do is provide connection details and schedule the script for execution.
1. The add-on connects to the Netwrix Auditor server and retrieves audit data using the Netwrix Auditor
Integration API.
2. The add-on processes Netwrix Auditor-compatible data (Activity Records) into log events that work as
input for Splunk. Each event contains the user account, action, time, and other details.
3. The add-on creates a special Windows event log (Netwrix_ Auditor_ Integration) and stores events
there. These events are structured and ready for integration with Splunk.
For more information on the structure of the Activity Record and the capabilities of the Netwrix Auditor
Integration API, refer to Netwrix Auditor Integration API Overview.
Make sure to check your product version, and then review and update your add-ons and scripts leveraging
Netwrix Auditor Integration API. Download the latest add- on version in the Add- on Store. For more
information about schema updates, refer to Netwrix Auditor Integration API.
5/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
The Netwrix Auditor Server l The Audit Database settings are configured in Netwrix Auditor
side Server.
l The TCP 9699 port (default Netwrix Auditor Integration API port) is
open for inbound connections.
l The user retrieving data from the Audit Database is granted the
Global reviewer role in Netwrix Auditor or is a member of the
Netwrix Auditor Client Users group.
The computer where the l Execution policy for powershell scripts is set to "Unrestricted". Run
script will be executed Windows PowerShell as administrator and execute the following
command:
Set-ExecutionPolicy Unrestricted
l The user running the script is granted the write permission on the
script folder—the add-on creates a special .bin file with the last
exported event.
6/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
First provide a path to your add-on followed by script parameters with their values. Each parameter is
preceded with a dash; a space separates a parameter name from its value. You can skip some parameters—
the script uses a default value unless a parameter is explicitly defined.
NetwrixAuditorUserName Current user Unless specified, the add-on runs with the current
credentials user credentials.
NetwrixAuditorPassword Current user Unless specified, the script runs with the current
credentials user credentials. Provide a different password if
necessary.
7/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
Scenario Example
For security reasons, Netwrix recommends running the script with current user credentials (skipping user
credentials). Create a special user account with permissions to both Netwrix Auditor data and event log
and use it for running the script.
1. On computer where you want to execute the add-on, start Windows PowerShell.
2. Type a path to the add-on. Or simply drag and drop the add-on file in the console window.
3. Add script parameters. The console will look similar to the following:
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Users\AddOnUser> C:\Add-ons\Netwrix_Auditor_Add-on_for_Splunk.ps1 -
NetwrixAuditorHost 172.28.6.15
NOTE: If the script path contains spaces (e.g., C:\Netwrix Add-ons\ ), embrace it in double quotes
and insert the ampersand (&) symbol in front (e.g., & "C:\Netwrix Add-ons\").
4. Hit Enter.
Depending on the number of Activity Records stored in Netwrix Auditor Audit Database execution may
take a while. Ensure the script execution completed successfully. The Netwrix_Auditor_Integration event
log will be created and filled with events.
8/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
NOTE: By default, the Netwrix_ Auditor_ Integration event log is set to 1GB and "Overwrite events as
needed". Also, all records exceeding 30,000 symbols are trimmed.
Every time you run the script, Netwrix Auditor makes a timestamp. The next time you run the script, it will
start retrieving new Activity Records.
1. On the computer where you want to execute the add-on, navigate to Task Scheduler.
3. On the General tab, specify a task name, e.g., Netwrix Auditor Add-on for Splunk. Make sure the
account that runs the task has all necessary rights and permissions.
4. On the Triggers tab, click New and define the schedule. This option controls how often audit data is
exported from Netwrix Auditor and saved to event log. Netwrix recommends scheduling a daily task.
5. On the Actions tab, click New and specify action details. Review the following for additional
information:
Option Value
Add arguments (optional) Add a path to the add-on in double quotes and specify add-on
parameters. For example:
-file "C:\Add-ons\Netwrix_Auditor_Add-on_for_Splunk.ps1"
-NetwrixAuditorHost 172.28.6.15
After creating a task, wait for the next scheduled run or navigate to Task Scheduler and run the task
manually. To do this, right-click a task and click Run.
9/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
2. In the Event Viewer dialog, navigate to Event Viewer (local) → Applications and Services Logs →
Netwrix_Auditor_Integration log.
3. Review events.
Now you can augment Splunk with data collected by Netwrix Auditor.
10/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
The Netwrix Auditor Integration API provides access to audit data collected by Netwrix Auditor through
REST API endpoints. According to the RESTful model, each operation is associated with a URL. Integration
API provides the following capabilities:
l Data in: Solidify security and meet regulatory compliance standards by enabling visibility into what is
going on in any third-party application.
l Data out : Further automate your business processes, IT security and operations workflows by
enriching third-party solutions with actionable audit data.
Netwrix Auditor Integration API operates with XML- and JSON-formatted Activity Records—minimal chunks
of audit data containing information on who changed what, when and where this change was made. XML
format is set as default.
11/12
Netwrix Auditor Add-on for Splunk Quick-Start Guide
With Integration API you can write Activity Records to the SQL Server-based Audit Database and access
audit data from remote computers. Also, Netwrix prepares add-ons—sample scripts—to help you integrate
your SIEM solutions with Netwrix Auditor.
Netwrix Auditor Integration API Service is responsible for processing API requests. This component is
installed along with Netwrix Auditor Server and is enabled automatically. By default, Netwrix Auditor
Integration API works over HTTPS protocol using an automatically generated certificate. Default
communication port is 9699 .
Netwrix does not limit you with applications that can be used with Integration API. You can write RESTful
requests using any tool or application you prefer—cURL, Telerik Fiddler, various Google Chrome or Mozilla
FireFox plug-ins, etc.
12/12