Get-AzureRmOperationalInsightsDataSource

Get datasources under Azure Log Analytics workspace.

Important

You've reached a webpage for an outdated version of Azure PowerShell. All versions of the AzureRM PowerShell module are outdated, but not out of support. The Az PowerShell module is now the recommended PowerShell module for interacting with Azure. To get started with the Az PowerShell module, see Install Azure PowerShell. To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.

Syntax

Get-AzureRmOperationalInsightsDataSource
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-Workspace] <PSWorkspace>
   [[-Name] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [[-Workspace] <PSWorkspace>]
   [[-Kind] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [-ResourceGroupName] <String>
   [-WorkspaceName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmOperationalInsightsDataSource
   [[-ResourceGroupName] <String>]
   [[-WorkspaceName] <String>]
   [-Kind] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<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.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Kind

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

  • AzureActivityLog
  • CustomLog
  • LinuxPerformanceObject
  • LinuxSyslog
  • WindowsEvent
  • WindowsPerformanceCounter
Type:String
Accepted values: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
-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
Accept wildcard characters:False
-Workspace

Specifies a workspace in which this cmdlet operates.

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

Inputs

PSWorkspace

Parameters: Workspace (ByValue)

String

Outputs

PSDataSource

Notes

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