Important This documentation space contains information about PATROL Agents when deployed in a BMC Helix Operations Management environment. If you are a TrueSight Operations Management user, see PATROL Agent 22.1.

Keys and values for the audit log variable


The Audit Log configuration variable, /AgentSetup/auditLog, consists of a new line separated list of Key and Value pairs as shown in the following example: 

"/AgentSetup/auditLog" = {
REPLACE = "Active=1\
filecount=4\
FileAging=Size 10"

}

What happens when you set the auditLog parameter using a monitoring policy on the BMC Helix Operations Management console?

You can set only the Active parameter through a monitoring policy on the BMC Helix Operations Management console:

Active=1

In such scenarios, the other two parameters are set to the following default values:

filecount=5

FileAging=Daily 0

The following table lists and explains the Key and Value pairs:

 AgentSetup/auditLog keys and values

 

 Creating a custom node in the windows event log

When you set the /AgentSetup/auditLog configuration variable to log information to the Windows Event Log, the activity will be logged to the "Applications" Windows Event Log by default. On Windows 2000 or later, you can create a separate, custom "PATROL" node in the Windows Event Log.

The following task describes how to create a custom log. You must first remove the existing agent service (if necessary), and install the agent with the -l (L) command line option.

To remove the agent service

Type the following command in the command line and press Enter:
PatrolAgent -remove

To install the agent service

  1. Type the following command in the command line and press Enter:
    PatrolAgent -install -l logname (where logname is the desired name for the custom log node)
  2. Restart your computer for the change to take effect.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*