The session-log template command creates a syslog or netflow session log template and accesses the session log template view.
The undo session-log template command deletes the syslog or netflow session log template.
session-log template template-name type { syslog | netflow }
undo session-log template template-name
| Parameter | Description | Value |
|---|---|---|
| template template-name | Specifies the content template name of session logs in syslog format. |
The value is a case-sensitive string of 1 to 32 characters and cannot contain question marks (?), (,) , (") or hyphens (-). If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it. The template name is case-sensitive. |
| type syslog | Indicates a syslog template. |
- |
| type netflow | Indicates a netflow session log template. |
- |