Use this command to enable and extended format syslog policy settings.
machine-readable enable | disable | (Optional) Sets the formatting of rule usage messages. The format is either machine-readable or human-readable. enable - Formats the rule usage messages so that they might be processed by a machine (scripting backend, etc.). disable - Formats the rule usage messages so that they are human readable. |
extended-format enable | disable | (Optional) Sets the control for the extended syslog message format. enable - Includes additional information in the rule usage syslog messages. disable - Uses the original rule usage syslog message format. |
If machine-readable enable is not specified, syslog formatting is set to human-readable. If extended-format enable is not specified, syslog standard format is set.
All command modes.
The data included in the extended format is VLAN, COS assigned, and the following fields found in the packet:
This example shows how to set the device formatting of rule usage messages as machine-readable:
System(rw)->set policy syslog machine-readable enable