Creating a Custom Tracked Attributes Filter Within a Configuration Template
Overview
This article describes how to create a custom tracked attributes filter when no default filter matches your requirements.
Configuration templates in Netwrix Change Tracker use tracked attributes filters to define which file and registry attributes a tracker monitors. If none of the default filters match your requirements — for example, if you want to track only security setting modifications — create a custom filter with just the attributes you need.
Instructions
-
On the Change Tracker Hub server, go to the filters directory:
C:\inetpub\wwwroot\Change Tracker Generation 7 (NetCore) Hub\Filters. -
Open
default.xml. This file contains all the standard file and registry filters shown on configuration templates. Configuration templates define each filter as a<filetrackerchangesfilter>element with onetrue/falseattribute per tracked item, for example:<filetrackerchangesfilter name="allchanges" description="File attributes (including security)" priority="low" source="globalLow" watchdirectories="false" watchfiles="true" created="false" length="true" lastaccess="false" lastwrite="true" filename="true" directoryname="true" attributes="true" security="true" datastreams="true" content="false" /> -
Copy the filter section closest to your goal. For example, to create a filter for file security changes only, copy a section of
default.xmlthat already tracks thesecurityattribute. -
Open
CustomFilters.xml, located in the same directory asdefault.xml. -
Paste the copied section between the root tags in
CustomFilters.xml, then set eachtrue/falseattribute (such assecurity,lastwrite, orcontent) to match what you want the filter to track.NOTE: The
descriptionparameter is the filter name shown on the configuration template. Thenameparameter must be unique among all filters inCustomFilters.xml. -
Save
CustomFilters.xml. -
Log back in to the Change Tracker console. Saving
CustomFilters.xmllogs out all active console sessions. -
Open the configuration template you want to use the filter with. The custom filter now appears in the tracked attributes filter list.