Product Documentation

audit nslogPolicy

Sep 12, 2016

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

add | rm | set | show

add audit nslogPolicy

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

Synopsys

add audit nslogPolicy <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 nslog 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 nslog policy? or ?my nslog policy?).

rule

Name of the NetScaler named rule, or a default syntax expression, that defines the messages to be logged to the nslog server.

action

Nslog server action that is performed when this policy matches.

NOTE: An nslog server action must be associated with an nslog audit policy.

rm audit nslogPolicy

Removes the specified nslog policy and associated configuration.

Synopsys

rm audit nslogPolicy <name>

Arguments

name

Name of the nslog policy to remove.

set audit nslogPolicy

Modifies the specified parametrers of an existing nslog policy.

Synopsys

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

Arguments

name

Name of the nslog policy to modify.

rule

Name of the NetScaler named rule, or a default syntax expression, that defines the messages to be logged to the nslog server.

action

Nslog server action that is performed when this policy matches.

NOTE: An nslog server action must be associated with an nslog audit policy.

show audit nslogPolicy

Displays the current configuration of the specified nslog policy. If no nslog policy is specified, displays a list of all nslog policies currently configured on the NetScaler appliance.

Synopsys

show audit nslogPolicy [<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 nslog server.

action

Nslog server action that is performed when this policy matches.

NOTE: An nslog server action must be associated with an nslog 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