Get-​Azure​Rm​Operational​Insights​Data​Source

Get datasources under Azure Log Analytics workspace.

Syntax

Get-AzureRmOperationalInsightsDataSource
   [[-Workspace] <PSWorkspace>]
   [[-Kind] <String>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [[-ResourceGroupName] <String>]
   [[-WorkspaceName] <String>]
   [-Kind] <String>
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-Workspace] <PSWorkspace>
   [[-Name] <String>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-ResourceGroupName] <String>
   [-WorkspaceName] <String>
   [-Name] <String>
   [<CommonParameters>]

Description

The Get-AzureRmOperationalInsightsDataSource cmdlet gets data sources. You can specify a data source to get. You can filter the results based on the kind of data source.

Examples

1:

Required Parameters

-ResourceGroupName

Specifies the name of a resource group that contains data sources to get.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Workspace

Specifies a workspace in which this cmdlet operates.

Type:PSWorkspace
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-WorkspaceName

Specifies the name of a workspace in which this cmdlet operates.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Kind

Specifies the kind of data sources to get. The acceptable values for this parameter are:

  • AzureActivityLog
  • CustomLog
  • LinuxPerformanceObject
  • LinuxSyslog
  • WindowsEvent
  • WindowsPerformanceCounter
Type:String
Parameter Sets:AzureAuditLog, AzureActivityLog, CustomLog, LinuxPerformanceObject, LinuxSyslog, WindowsEvent, WindowsPerformanceCounter, AzureAuditLog, AzureActivityLog, CustomLog, LinuxPerformanceObject, LinuxSyslog, WindowsEvent, WindowsPerformanceCounter
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a data source to get.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Notes

  • Keywords: azure, azurerm, arm, resource, management, manager, operational, insights