Add-NsxtNodeProfileSyslogExporter¶
Synopsis¶
Sets a syslog exporter on an NSX node profile to VMware Aria Operations for Logs
Syntax¶
Add-NsxtNodeProfileSyslogExporter [-server] <String> [-user] <String> [-pass] <String> [-domain] <String> [[-id] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description¶
The Add-NsxtNodeProfileSyslogExporter
cmdlet adds a syslog exporter for VMware Aria Operations for Logs to an NSX node profile for configuration of syslog on the NSX components included in the node profile.
The cmdlet connects to SDDC Manager using the -server, -user, -password, and -domain values:
- Validates that network connectivity and authentication is possible to SDDC Manager
- Validates that network connectivity and authentication is possible to NSX Manager
- Validates that VMware Aria Operations for Logs has been deployed in VCF-aware mode and retrieves its details
- Validates that network connectivity and authentication is possible to VMware Aria Operations for Logs
- Adds a syslog exporter on the default (All NSX Nodes) or specified node profile for NSX
Examples¶
Example 1¶
Add-NsxtNodeProfileSyslogExporter -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -domain sfo-w01
This example adds a syslog exporter to VMware Aria Operations for Logs for the default (All NSX Nodes) node profile.
Example 2¶
Add-NsxtNodeProfileSyslogExporter -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -domain sfo-w01 -id "********-****-****-****-************"
This example adds a syslog exporter to VMware Aria Operations for Logs for a specific node profile with the -id parameter.
Parameters¶
-server¶
The fully qualified domain name (FQDN) or IP address of the SDDC Manager.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-user¶
The user name to authenticate to SDDC Manager.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-pass¶
The password to authenticate to SDDC Manager.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-domain¶
The domain name of the SDDC Manager.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-id¶
The id of the NSX node profile to add the syslog exporter to. If not specified, the default (All NSX Nodes) node profile is used.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
Progress Action
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.