--- title: "Set-VBRVSAEventForwardingOptions" description: "This cmdlet modifies Veeam Software Appliance syslog event forwarding settings. You can enable or disable forwarding, configure the target syslog server, choose to reuse the Veeam Backup & Replication server syslog options, and define the default..." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrvsaeventforwardingoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Veeam Backup & Replication Settings > Configuring Veeam Software Appliance Event Forwarding > Set-VBRVSAEventForwardingOptions" dateModified: "2026-08-19" --- # Set-VBRVSAEventForwardingOptions ## Short Description Modifies Veeam Software Appliance syslog event forwarding settings. **Product Edition**: Veeam Universal License ## Syntax ``` Set-VBRVSAEventForwardingOptions [-EnableSyslogForwarding] [-UseBackupServerSyslogOptions] [-ServerName ] [-Port ] [-TransportProtocol ] [-SeverityRules ] [-AdvancedFilters ] [] ``` ## Detailed Description This cmdlet modifies Veeam Software Appliance syslog event forwarding settings. You can enable or disable forwarding, configure the target syslog server, choose to reuse the Veeam Backup & Replication server syslog options, and define the default severity levels and per-application filtering rules. ::: note To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. ::: ::: note You cannot specify the `ServerName`, `Port`, `TransportProtocol`, `SeverityRules`, `AdvancedFilters`, or `UseBackupServerSyslogOptions` parameters while syslog forwarding is disabled. Provide the `EnableSyslogForwarding` parameter to enable forwarding first. The `UseBackupServerSyslogOptions` parameter and the manual server parameters (`ServerName`, `Port`, `TransportProtocol`) are mutually exclusive. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AdvancedFilters

Specifies the array of per-application filtering rules that override the default severity rules for specific applications or daemons.

Accepts the VBRVSAEventForwardingFilteringRule[] object. To create this object, run the New-VBRVSAEventForwardingFilteringRule cmdlet.

VBRVSAEventForwardingFilteringRule[]

False

Named

False

EnableSyslogForwarding

Enables syslog event forwarding for the Veeam Software Appliance. To disable forwarding, set the parameter value to $false. That is, EnableSyslogForwarding:$false.

SwitchParameter

False

Named

False

Port

Specifies the port number of the syslog server. Permitted values: 1-65535.

Int32

False

Named

False

ServerName

Specifies the DNS name or IP address of the syslog server to which appliance events will be forwarded.

String

False

Named

False

SeverityRules

Specifies an array of severity levels that the appliance will forward by default. Specify a single value from the list — the appliance forwards events at that severity and higher. Accepted values:

  • Emergency
  • Alert
  • Critical
  • Error
  • Warning
  • Notice
  • Informational
  • Debug

VBRSyslogServerEventSeverity[]

False

Named

False

TransportProtocol

Specifies the transport protocol that the appliance will use to send messages to the syslog server. Accepted values:

  • Udp
  • Tcp
  • Tls

VBRSyslogServerProtocol

False

Named

False

UseBackupServerSyslogOptions

Defines that the appliance will reuse the syslog server settings configured on the Veeam Backup & Replication server. When this parameter is set, you cannot specify the ServerName, Port or TransportProtocol parameters.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object [`VBRVSAEventForwardingOptions`](vbrvsaeventforwardingoptions.md) ## Examples ::: example ### Example 1. Enabling Veeam Software Appliance Syslog Forwarding to Dedicated Server This example shows how to enable Veeam Software Appliance syslog event forwarding to a dedicated syslog server using the TCP transport protocol. ``` Set-VBRVSAEventForwardingOptions -EnableSyslogForwarding -ServerName "syslog.tech.local" -Port 514 -TransportProtocol Tcp -SeverityRules Error ``` Perform the following steps: 1. Run the `Set-VBRVSAEventForwardingOptions` cmdlet. Specify the following settings: - Provide the `EnableSyslogForwarding` parameter. - Specify the `ServerName` parameter value. - Specify the `Port` parameter value. - Set the `Tcp` value as the `TransportProtocol` parameter value. - Set `Error` as the `SeverityRules` parameter value. ::: ::: example ### Example 2. Reusing Backup Server Syslog Settings With Advanced Filter This example shows how to enable appliance syslog forwarding using the syslog server already configured on the Veeam Backup & Replication server, and add an advanced filtering rule for the `sshd` daemon. ``` $rule = New-VBRVSAEventForwardingFilteringRule -Application "sshd" -SeverityRules Error, Critical Set-VBRVSAEventForwardingOptions -EnableSyslogForwarding -UseBackupServerSyslogOptions -AdvancedFilters $rule ``` Perform the following steps: 1. Run the [`New-VBRVSAEventForwardingFilteringRule`](new-vbrvsaeventforwardingfilteringrule.md) cmdlet. Specify the `Application` and `SeverityRules` parameter values. Save the result to the `$rule` variable. 2. Run the `Set-VBRVSAEventForwardingOptions` cmdlet. Specify the following settings: - Provide the `EnableSyslogForwarding` parameter. - Provide the `UseBackupServerSyslogOptions` parameter. - Set the `$rule` variable as the `AdvancedFilters` parameter value. ::: ::: example ### Example 3. Disabling Veeam Software Appliance Syslog Forwarding This example shows how to disable Veeam Software Appliance syslog event forwarding. ``` Set-VBRVSAEventForwardingOptions -EnableSyslogForwarding:$false ``` Run the `Set-VBRVSAEventForwardingOptions` cmdlet. Set the `EnableSyslogForwarding` parameter value to `$false`. ::: ## Related Commands - [`Get-VBRVSAEventForwardingOptions`](get-vbrvsaeventforwardingoptions.md) - [`New-VBRVSAEventForwardingFilteringRule`](new-vbrvsaeventforwardingfilteringrule.md)