Skip to content

audit syslogPolicy

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

add| rm| set| show

add audit syslogPolicy

p{white-space: pre-wrap;}

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

Synopsys

add audit syslogPolicy <name> <rule> <action>

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

p{white-space: pre-wrap;}

Removes the specified syslog policy and associated configuration.

Synopsys

rm audit syslogPolicy <name>

Arguments

name

Name of the syslog policy to remove.

set audit syslogPolicy

p{white-space: pre-wrap;}

Configures an existing syslog policy.

Synopsys

set audit syslogPolicy <name> [-rule <expression>] [-action <string>]

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

p{white-space: pre-wrap;}

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.

Synopsys

show audit syslogPolicy [<name>]

Arguments

name

Name of the policy.

Outputs

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