Set-VBRVSAEventForwardingOptions
Short Description
Modifies Veeam Software Appliance syslog event forwarding settings.
Applies to
Product Edition: Veeam Universal License
Syntax
|
Set-VBRVSAEventForwardingOptions [-EnableSyslogForwarding] [-UseBackupServerSyslogOptions] [-ServerName <String>] [-Port <Int32>] [-TransportProtocol <VBRSyslogServerProtocol>] [-SeverityRules <VBRSyslogServerEventSeverity[]>] [-AdvancedFilters <VBRVSAEventForwardingFilteringRule[]>] [<CommonParameters>] |
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 |
|---|---|---|---|---|---|
|
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 |
|
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 |
|
ServerName |
Specifies the DNS name or IP address of the syslog server to which appliance events will be forwarded. |
String |
False |
Named |
False |
|
Port |
Specifies the port number of the syslog server. Permitted values: 1–65535. |
Int32 |
False |
Named |
False |
|
TransportProtocol |
Specifies the transport protocol that the appliance will use to send messages to the syslog server. Accepted values:
|
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:
|
False |
Named |
False |
|
|
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. |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
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.
Perform the following steps:
|
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.
Perform the following steps:
|
Example 3. Disabling Veeam Software Appliance Syslog Forwarding
|
This example shows how to disable Veeam Software Appliance syslog event forwarding.
Run the Set-VBRVSAEventForwardingOptions cmdlet. Set the EnableSyslogForwarding parameter value to $false. |
Related Commands