write syslog

Copy a system log file to a network location

Syntax

write syslog <file> <url>

Syntax Description

Keyword
Description

file

The name of the log file to be copied.

url

The location to where the log file is to be written.

Defaults

None; all parameters must be specified.

Usage Guidelines

This command writes a system log file to a specificied network location.

A list of available system log files shown using the show syslog ? command.

If the log file to be written is in a subdirectory, specify the subdirectory name before the file name, separated by a space.

Refer to the URL Format section of this document for more information on the syntax of the url parameter.

Examples

write syslog update.log scp://[email protected]/logs/
write syslog slog 20241029-140105 scp://[email protected]/logs/
show syslogclear syslog

Last updated