< Back
New-AzureRmOperationalInsightsLinuxSyslogDataSource
Post
NAME New-AzureRmOperationalInsightsLinuxSyslogDataSource
SYNOPSIS
Adds a data source to Linux computers.
SYNTAX
New-AzureRmOperationalInsightsLinuxSyslogDataSource [-ResourceGroupName] <String> [-WorkspaceName] <String> [-Name] <String> [-Facility] <String>
[-CollectAlert] [-CollectCritical] [-CollectDebug] [-CollectEmergency] [-CollectError] [-CollectInformational] [-CollectNotice] [-CollectWarning]
[-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzureRmOperationalInsightsLinuxSyslogDataSource [-Workspace] <PSWorkspace> [-Name] <String> [-Facility] <String> [-CollectAlert]
[-CollectCritical] [-CollectDebug] [-CollectEmergency] [-CollectError] [-CollectInformational] [-CollectNotice] [-CollectWarning] [-DefaultProfile
<IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmOperationalInsightsLinuxSyslogDataSource cmdlet adds a syslog data source to connected Linux computers in a workspace. Azure
Operational Insights can collect syslog data.
PARAMETERS
-CollectAlert [<SwitchParameter>]
Indicates that Operational Insights collects alert messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectCritical [<SwitchParameter>]
Indicates that Operational Insights collects critical messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectDebug [<SwitchParameter>]
Indicates that Operational Insights collects debug messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectEmergency [<SwitchParameter>]
Indicates that Operational Insights collects emergency messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectError [<SwitchParameter>]
Indicates that Operational Insights collects error messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectInformational [<SwitchParameter>]
Indicates that Operational Insights collects informational messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectNotice [<SwitchParameter>]
Indicates that Operational Insights collects notice messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectWarning [<SwitchParameter>]
Indicates that the syslog includes warning messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Facility <String>
Specifies a facility code.
Required? true
Position? 4
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies a name for the data source.
Required? true
Position? 3
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group that contains Linux computers.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Workspace <PSWorkspace>
Specifies a workspace in which this cmdlet operates.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-WorkspaceName <String>
Specifies the name of a workspace in which this cmdlet operates.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
PSWorkspace
Parameter 'Workspace' accepts value of type 'PSWorkspace' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... datasource
Disable-AzureRmOperationalInsightsLinuxSyslogCollection
Enable-AzureRmOperationalInsightsLinuxSyslogCollection
SYNOPSIS
Adds a data source to Linux computers.
SYNTAX
New-AzureRmOperationalInsightsLinuxSyslogDataSource [-ResourceGroupName] <String> [-WorkspaceName] <String> [-Name] <String> [-Facility] <String>
[-CollectAlert] [-CollectCritical] [-CollectDebug] [-CollectEmergency] [-CollectError] [-CollectInformational] [-CollectNotice] [-CollectWarning]
[-DefaultProfile <IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
New-AzureRmOperationalInsightsLinuxSyslogDataSource [-Workspace] <PSWorkspace> [-Name] <String> [-Facility] <String> [-CollectAlert]
[-CollectCritical] [-CollectDebug] [-CollectEmergency] [-CollectError] [-CollectInformational] [-CollectNotice] [-CollectWarning] [-DefaultProfile
<IAzureContextContainer>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The New-AzureRmOperationalInsightsLinuxSyslogDataSource cmdlet adds a syslog data source to connected Linux computers in a workspace. Azure
Operational Insights can collect syslog data.
PARAMETERS
-CollectAlert [<SwitchParameter>]
Indicates that Operational Insights collects alert messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectCritical [<SwitchParameter>]
Indicates that Operational Insights collects critical messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectDebug [<SwitchParameter>]
Indicates that Operational Insights collects debug messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectEmergency [<SwitchParameter>]
Indicates that Operational Insights collects emergency messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectError [<SwitchParameter>]
Indicates that Operational Insights collects error messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectInformational [<SwitchParameter>]
Indicates that Operational Insights collects informational messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectNotice [<SwitchParameter>]
Indicates that Operational Insights collects notice messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-CollectWarning [<SwitchParameter>]
Indicates that the syslog includes warning messages.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Facility <String>
Specifies a facility code.
Required? true
Position? 4
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies a name for the data source.
Required? true
Position? 3
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group that contains Linux computers.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Workspace <PSWorkspace>
Specifies a workspace in which this cmdlet operates.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-WorkspaceName <String>
Specifies the name of a workspace in which this cmdlet operates.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
PSWorkspace
Parameter 'Workspace' accepts value of type 'PSWorkspace' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource
NOTES
1:
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... datasource
Disable-AzureRmOperationalInsightsLinuxSyslogCollection
Enable-AzureRmOperationalInsightsLinuxSyslogCollection