Home > Configuration > Audit > addauditsyslogpolicy

addauditsyslogpolicy

Use this method to adds a policy that defines which messages to log to the specified syslog 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 syslog 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 syslog policy" or 'my syslog 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 syslog server.
This is mandatory parameter.

actioN

Syslog server action to perform when this policy matches traffic. NOTE: A syslog server action must be associated with a syslog audit policy.
This is mandatory parameter.

Return Value

Returns simpleResult

See Also