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

Get datasources under Azure Log Analytics workspace.

Syntax

Get-AzureRmOperationalInsightsDataSource
   [[-ResourceGroupName] <String>]
   [[-WorkspaceName] <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Kind <String>
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [[-Workspace] <PSWorkspace>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-Kind <String>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-Workspace] <PSWorkspace>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-Name <String>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-ResourceGroupName] <String>
   [-WorkspaceName] <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <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

-Kind

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

  • CustomLog
  • LinuxPerformanceObject
  • LinuxSyslog
  • WindowsEvent
  • WindowsPerformanceCounter
Type:String
Position:Named
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

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a data source to get.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

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

Type:String
Position:1
Default value:None
Accept pipeline input:False
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:False
Accept wildcard characters:False

Notes

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