Skip to content

audit-syslogPolicy

The following operations can be performed on "audit-syslogPolicy":

add| rm| set| show|

add audit syslogPolicy

Adds a policy that defines which messages to log to the specified syslog server.

Synopsis

add audit syslogPolicy

Arguments

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').

rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the syslog server.

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

rm audit syslogPolicy

Removes the specified syslog policy and associated configuration.

Synopsis

rm audit syslogPolicy

Arguments

name Name of the syslog policy to remove.

set audit syslogPolicy

Configures an existing syslog policy.

Synopsis

set audit syslogPolicy [-rule ] [-action ]

Arguments

name Name of the syslog policy to be configured.

rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the syslog server.

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

show audit syslogPolicy

Displays the current configuration of the specified syslog policy. If no syslog policy is specified, displays a list of all syslog policies currently configured on the Citrix ADC.

Synopsis

show audit syslogPolicy []

Arguments

name Name of the policy.

Output

stateflag rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the syslog server.

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

boundTo The entity name to which policy is bound

activePolicy priority bindPolicyType policyType builtin Indicates that a variable is a built-in (SYSTEM INTERNAL) type.

feature The feature to be checked while applying this config

expressionType Type of policy (Classic/Advanced)

devno count

Was this article helpful?