Excluding or Editing Information from Process Output Tracking (Agentless)
Overview
This article shows how to exclude or edit lines from process output tracking on agentless devices.
Process output trackers on agentless devices can generate change events for values that always change between polls, such as system uptime or the current time source. Use the ExcludeMatchesWithComment login script directive to exclude or relabel these lines so they do not generate unwanted change events.
NOTE: This only changes what Netwrix Change Tracker records. It does not change the information on the monitored device itself.
Instructions
-
Go to Settings.
-
On the sidebar, select Credentials.
-
Select the credential set used by the device, then select Edit.
-
In the login script, add the following line above any existing directives:
ExcludeMatchesWithComment,<replacement-comment>,<match-text><replacement-comment>— the text to display in place of the matched line.<match-text>— a regular expression matching the line you want to exclude or relabel. The first few words of the line are usually enough.
-
Select Update, then start the process output tracker from the device's Devices screen.
After the tracker runs, the matched line appears as <replacement-comment> in the tracked output instead of its original text, and no longer generates a change event on subsequent polls unless the replacement text itself changes.
NOTE: Add multiple
ExcludeMatchesWithCommentlines to the login script to exclude more than one line from the tracked output. For an example of this directive used in a device's login script, see Adding a Palo Alto Device as a Proxied Device.