Add-VBRSyslogServer

Short Description

Adds a syslog server to Veeam Backup & Replication.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VBRSyslogServer -ServerHost <String> -Port <Int32> -Protocol <VBRSyslogServerProtocol> [-CertificateThumbprint <String>]  [<CommonParameters>]

Detailed Description

This cmdlet adds a syslog server to manage Veeam Backup & Replication events.

Note

You can specify only one syslog server for one Veeam Backup & Replication server.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ServerHost

Specifies an IPv4 address or DNS name of the syslog server.

String

True

Named

False

Port

Specifies the port number that the syslog server uses to send messages.

Default: 514 for UDP, 514 for TCP, 6514 for TLS.

Int32

True

Named

False

Protocol

Specifies the protocol that the syslog server uses: Udp, Tcp, Tls.

Use the CertificateThumbprint parameter to specify the certificate thumbprint for the Tls protocol.

VBRSyslogServerProtocol

True

Named

False

CertificateThumbprint

Specifies the certificate thumbprint.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRSyslogServer

Examples

Adding Syslog Server

This command add a syslog server with the following settings:

  • The IP address of the server is 172.17.53.28.
  • The port that the syslog server uses is set to 514.
  • The protocol is set to Udp.

Add-VBRSyslogServer -ServerHost "172.17.53.28" -Port 514 -Protocol Udp