Product Documentation

audit syslogPolicy

Sep 12, 2016

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.

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 NetScaler 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 NetScaler named rule, or a default syntax 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.

Synopsys

rm audit syslogPolicy <name>

Arguments

name

Name of the syslog policy to remove.

set audit syslogPolicy

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 NetScaler named rule, or a default syntax 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 NetScaler appliance.

Synopsys

show audit syslogPolicy [<name>]

Arguments

name

Name of the policy.

Outputs

rule

Name of the NetScaler named rule, or a default syntax 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.

devno

count

stateflag