Citrix Systems CITRIX NETSCALER 9.3 Benutzerhandbuch

Seite von 195
w
add audit syslogPolicy <name> <rule> <action>
w
show audit syslogPolicy [<name>]
Example
> add audit syslogpolicy syslog-pol1 ns_true audit-
action1                       
Done
> show audit syslogpolicy syslog-pol1
1)      Name: syslog-pol1       Rule: ns_true
        Action: audit-action1
 Done
To configure an NSLOG policy by using the command line
At the NetScaler command prompt, type the following commands to set the parameters
and verify the configuration:
w
add audit nslogPolicy <name> <rule> <action>
w
show audit nslogPolicy [<name>]
Example
> add audit nslogPolicy nslog-pol1 ns_true nslog-
action1
 Done
> show audit nslogPolicy nslog-pol1
1)      Name: nslog-pol1        Rule: ns_true
        Action: nslog-action1
 Done
Parameters for configuring audit policies
name
The name of NSLOG policy or SYSLOG policy.
rule
The name of the rule or expression that the policy will use. It currently supports only
the rule "ns_true."
This parameter is only for the command line.
In the configuration utility ns_true is internally assigned as a rule for the SYSLOG or
the NSLOG policy.
action
SYSLOG server action or the NSLOG server action. NSLOG server action is bind to a
NSLOG audit policy and SYSLOG server action is bind to a SYSLOG audit policy.
Citrix NetScaler Administration Guide
77