Inclusions tab
Examples:
The following table provides some examples of file masks that can be used on the Inclusions tab of the auditing wizard. Note that <String> in this table may contain any of the file mask characters described above (i.e., fixed characters, * or ?).
Table 1. Inclusion examples
Include all files with a specific file name regardless of its file extension.
Inclusion Syntax: <FileName>.*
Example: Name.*
Includes:
Name.txt
Name.docx
Name.pdfInclusion Syntax: <FileNameString>.<Ext>
Example 1: *.tmp
Includes:
Files with a file extension of .tmp.Example 2: ???*.doc
Includes:
Files whose name contains at least three characters with a file extension of .doc.MyTest.doc
Testing123.doc
123.docExample 3: ???test.doc
Includes:
Files whose name contains seven characters and ends in ‘test’ with a file extension of .doc.Inclusion Syntax: <FileName>.<ExtString>
Example 1: Name.???
Includes:
Name.txt
Name.tmp
Name.pdfExample 2: Name.????
Includes:
Name.docx
Name.xlsxInclude all files that contain a specific string in their name and/or file extension.
Inclusion Syntax: <FileNameString>.<ExtString>
Example: *name.??p
Includes:
Files whose name end with ‘name’ with a three character file extension that ends in the letter ‘p’.
Exclusions tab
NOTE: Be sure to select the appropriate Add option (Folder or File) when adding an exclusion or you may not get the results expected. That is, use Add | Folder to exclude the auditing of activity against files/subfolders in folder(s) that match the exclusion string. Use Add | File to exclude the auditing of activity against file(s) that match the exclusion string.Exclusion examples
These examples show how to use file masks on the Exclusions tab of the auditing wizard. Note that <String> in these examples may contain any of the file mask characters described above (such as, fixed characters, * or ?).
Folder exclusion examples
Audit Path = Folder (<ShareName>\<FolderName>)
In the following examples the Audit Path is HOME\TEMP.
Exclude activity against files/subfolders in the specified folder in the base audit path.
(Add | Folder)
Exclusion Syntax: <FolderName>
Example: DOCS
Excludes:
HOME\TEMP\DOCS(Add | Folder)
Exclusion Syntax: <FolderNameString>
Example 1: DOC*
Excludes:
HOME\TEMP\DOCS
HOME\TEMP\DOCUMENTSExample 2: *DOC
Excludes: HOME\TEMP\MYDOC
Example 3: *DOC?
Excludes:
HOME\TEMP\DOCS
HOME\TEMP\MYDOCX
HOME\TEMP\PUBLICDOCS(Add | Folder)
Exclusion Syntax: **\<FolderName>
Example: **\MYDOC
Excludes:
HOME\TEMP\MYDOC
HOME\TEMP\DOCUMENTS\MYDOC
HOME\TEMP\DOCS\PRIVATE\MYDOCExclude activity against a specific file in the base audit path.
(Add | File)
Exclusion Syntax: <FileName.ext>
Example: Test1.docx
Excludes: HOME\TEMP\Test1.docx
(Add | File)
Exclusion Syntax: *.<ext>
Example: *.tmp
Excludes:
HOME\TEMP\Doc1.tmp
HOME\TEMP\Testing123.tmp(Add | File)
Exclusion Syntax: **.<ext>
Example: **.tmp
Excludes:
HOME\TEMP\Doc1.tmp
HOME\TEMP\DOCUMENTS\Testing.tmp(Add | File)
Exclusion Syntax:
<FileNameString>.<ExtString>Example 1: ??word.???
Excludes:
Files whose name contains six characters and ends in ‘word’, with a three character file extension.HOME\TEMP\Myword.doc
HOME\TEMP\12word.txtExample 2: *word*.??p
Excludes:
Files whose name contains the string ‘word’, with a three character file extension that ends with the letter ‘p’.HOME\TEMP\Word.tmp
HOME\TEMP\Mywordtest.tmp
HOME\TEMP\Nowords.bmp
Volume exclusion examples
Audit Path = Volume (<VolumeName>)
NOTE: Volume names are case sensitive and must be entered correctly in the Audit Path field on the auditing wizard.
(Add | Folder)
Exclusion Syntax:
<ShareName>\<Path>\<FolderName>Example: HOME\USERS\TEMP\DOCS
Excludes:
Vol0\HOME\USERS\TEMP\DOCS(Add | Folder)
Exclusion Syntax:
<ShareName>\<Path>\<CharString>Example: HOME\USERS\TE?????DOCS
Excludes:
Vol0\HOME\USERS\TESTINGDOCS
Vol0\HOME\USERS\TEMPORARYDOCS(Add | Folder)
Exclusion Syntax:
<ShareName>\**\<FolderName>Example: HOME\**\DOCS
Excludes:
Vol0\HOME\DOCS
Vol0\HOME\DEPTS\DOCS
Vol0\HOME\USERS\TEMP\DOCS(Add | Folder)
Exclusion Syntax:
<ShareName>\**\<CharString>*Example: HOME\**\DOC*
Excludes:
Vol0\HOME\DOCS
Vol0\HOME\DEPTS\DOCS
Vol0\HOME\USERS\TEMP\DOCS
Vol0\HOME\USERS\DOCUMENTS(Add | Folder)
Exclusion Syntax: *\*\<FolderName>
Example 1: *\*\DOCS
Excludes:
Vol0\HOME\USERS\DOCS
Vol0\HOME\DEPTS\DOCS
Vol0\SHARE2\TEST\DOCSExcludes:
Vol0\HOME\USERS\TEMP\DOCS
Vol0\SHARE2\PUBLIC\TEST\DOCS(Add | Folder)
Exclusion Syntax: **\<FolderName>
Example: **\DOCS
Excludes:
Vol0\HOME\DOCS
Vol0\HOME\DEPTS\DOCS
Vol0\HOME\USERS\TEMP\DOCS
Vol0\SHARE2\TEST\DOCS
Vol0\SHARE2\PUBLIC\TEST\DOCS(Add | Folder)
Exclusion Syntax: **<CharString>*
Example: **DOC*
Excludes:
Vol0\HOME\DOCS
Vol0\HOME\MYDOCS
Vol0\HOME\USERS\TEMP\DOCS
Vol0\HOME\USERS\TEMPORARYDOCS
Vol0\SHARE2\TEST\DOCS
Vol0\SHARE2\PUBLIC\TEST\MYDOCS
Vol0\SHAREDDOC(Add | File)
Exclusion Syntax: **<CharString>*
Example: **DOC*
Excludes:
Vol0\HOME\Document1.tmp
Vol0\HOME\DOCS\Testing.doc
Vol0\HOME\USERS\TEMP\DOCS\BetaDoc.pdf
Vol0\SHARE2\USERS\DOCS\Test1.docx
Vol0\SHARE2\PUBLIC\MYDOCS\OldDocPlanExclude activity against a specific file found in a specific location on the selected volume.
(Add | File)
Exclusion Syntax:
<ShareName>\<Path>\<FileName.Ext>Example:
SHARE2\USERS\DOCS\Test1.docxExcludes:
Vol0\SHARE2\USERS\DOCS\Test1.docx(Add | File)
Exclusion Syntax: **\<FileName>.*
Example: **\test1.*
Excludes:
Vol0\HOME\DEPTS\DOCS\test1.docx
Vol0\HOME\USERS\TEMP\DOCS\test1.docx
Vol0\HOME\USERS\DOCUMENTS\test1.pdf
Vol0\SHARE2\TEST\DOCS\test1.txt(Add | File)
Exclusion Syntax:
<ShareName>\<Path>\*.<Ext>Example: SHARE2\TEST\DOCS\*.docx
Excludes:
Vol0\SHARE2\TEST\DOCS\Test1.docx
Vol0\SHARE2\TEST\DOCS\MyInfo.docx(Add | File)
Exclusion Syntax: **\*.<Ext>
Example: **\*.pdf
Excludes:
Vol0\HOME\MYDOCS\Final.pdf
Vol0\HOME\DEPTS\DOCS\Test123.pdf
Vol0\HOME\USERS\DOCUMENTS\Test1.pdf
Vol0\SHARE2\TEST\DOCS\Current.pdf
Vol0\SHARE2\PUBLIC\TEST\MYDOCS\Ex.pdf