copy syslog-file https

Last Updated : Jul 12, 2021 |

Uploads the Syslog file to a remote server using HTTPS.

Syntax

copy syslog-file https <URL> [transfer-type]

Parameters

Parameter

Description

Possible Values

Default Value

URL

The URL contains the following elements in order:

  • http://or https://

  • username (optional) followed by @

  • webserver host:- IPv4 address, IPv6 address, or Fully Qualified Domain Name of the remote HTTP or HTTPS server

  • :webserver port (optional)

  • /file path

  • path

  • filename

https://

transfer-type

The transfer type depending on the type of verification. The options are:

  • secure: verifies the certificate and hostname, applicable for https

  • certificate: verifies the webserver TLS certificate, applicable for https

  • unsecure: no TLS certificate verification required

  • secure

  • certificate

  • unsecure

  • secure for https

  • unsecure for http

User level

admin

Context

general

Example

To copy the syslog file to the host with IP address 2001:db8::c0a8:310a:

copy syslog-file https https://[2001:db8::1111]:4403/g450.log
copy syslog-file https example.com/logs/g450.log
copy syslog-file https my.webserver/g450_1.log