ADC CLI Commands

audit-messageaction

The following operations can be performed on “audit-messageaction”:

unset set show rm add

unset audit messageaction

Use this command to remove audit messageaction settings.Refer to the set audit messageaction command for meanings of the arguments.

Synopsis

unset audit messageaction -logtoNewnslog

set audit messageaction

Modifies the specified parameters of an existing audit message action.

Synopsis

set audit messageaction [-logLevel ] [-stringBuilderExpr ] [-logtoNewnslog ( YES | NO )]

Arguments

name Name of the audit message action to modify.

logLevel Audit log level, which specifies the severity level of the log message being generated. The following loglevels are valid:

  • EMERGENCY - Events that indicate an immediate crisis on the server.
  • ALERT - Events that might require action.
  • CRITICAL - Events that indicate an imminent server crisis.
  • ERROR - Events that indicate some type of error.
  • WARNING - Events that require action in the near future.
  • NOTICE - Events that the administrator should know about.
  • INFORMATIONAL - All but low-level events.
  • DEBUG - All events, in extreme detail.

Possible values: EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFORMATIONAL, DEBUG

stringBuilderExpr Default-syntax expression that defines the format and content of the log message.

logtoNewnslog Send the message to the new nslog.

Possible values: YES, NO

show audit messageaction

Displays the current configuration of the specified audit message action. If no audit message action is specified, displays a list of all audit message actions currently configured on the Citrix ADC.

Synopsis

show audit messageaction []

Arguments

name Name of the audit message action.

Output

logLevel Audit log level, which specifies the severity level of the log message being generated.. The following loglevels are valid:

  • EMERGENCY - Events that indicate an immediate crisis on the server.
  • ALERT - Events that might require action.
  • CRITICAL - Events that indicate an imminent server crisis.
  • ERROR - Events that indicate some type of error.
  • WARNING - Events that require action in the near future.
  • NOTICE - Events that the administrator should know about.
  • INFORMATIONAL - All but low-level events.
  • DEBUG - All events, in extreme detail.

logLevel stringBuilderExpr Default-syntax expression that defines the format and content of the log message.

logtoNewnslog Send the message to the new nslog.

bypassSafetyCheck Bypass the safety check and allow unsafe expressions.

stateflag hits The number of times the action has been taken.

undefHits The number of times the action resulted in UNDEF.

referenceCount The number of references to the action.

devno count

rm audit messageaction

Removes the specified audit message action and associated configuration.

Synopsis

rm audit messageaction

Arguments

name Name of the audit message action to remove.

add audit messageaction

Adds an audit message action. The action specifies whether to log the message, and to which log.

Synopsis

add audit messageaction [-logtoNewnslog ( YES | NO )]

Arguments

name Name of the audit message action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the message action 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 message action” or ‘my message action’).

logLevel Audit log level, which specifies the severity level of the log message being generated.. The following loglevels are valid:

  • EMERGENCY - Events that indicate an immediate crisis on the server.
  • ALERT - Events that might require action.
  • CRITICAL - Events that indicate an imminent server crisis.
  • ERROR - Events that indicate some type of error.
  • WARNING - Events that require action in the near future.
  • NOTICE - Events that the administrator should know about.
  • INFORMATIONAL - All but low-level events.
  • DEBUG - All events, in extreme detail.

Possible values: EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFORMATIONAL, DEBUG

stringBuilderExpr Default-syntax expression that defines the format and content of the log message.

logtoNewnslog Send the message to the new nslog.

Possible values: YES, NO

audit-messageaction