Home > Configuration > Audit > addauditnslogpolicy

addauditnslogpolicy

Use this method to adds a policy that defines which messages to log to the specified nslog server.

Syntax



Parameters

name

Name for the policy. Must begin with a letter, number, or the underscore character (_), and must consist only of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the nslog policy is added. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my nslog policy" or 'my nslog policy').
This is mandatory parameter.

rule

Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the nslog server.
This is mandatory parameter.

actioN

Nslog server action that is performed when this policy matches. NOTE: An nslog server action must be associated with an nslog audit policy.
This is mandatory parameter.

Return Value

Returns simpleResult

See Also