Citrix Systems CITRIX NETSCALER 9.3 To configure an NSLOG policy by using the command line, rule

Models: CITRIX NETSCALER 9.3

1 195
Download 195 pages 43.21 Kb
Page 77
Image 77
wadd audit syslogPolicy <name> <rule> <action>

Citrix NetScaler Administration Guide

wadd audit syslogPolicy <name> <rule> <action>

wshow 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

Done

Action: audit-action1

 

 

 

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:

wadd audit nslogPolicy <name> <rule> <action>

wshow 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

Done

Action: nslog-action1

 

 

 

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.

77

Page 77
Image 77
Citrix Systems CITRIX NETSCALER 9.3 To configure an NSLOG policy by using the command line, w show audit syslogPolicy name