Get-AzOperationalInsightsDataSource
Get datasources under Azure Log Analytics workspace.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
Get-AzOperationalInsightsDataSource
[[-ResourceGroupName] <String>]
[[-WorkspaceName] <String>]
[-Kind] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsDataSource
[-Workspace] <PSWorkspace>
[[-Name] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsDataSource
[[-Workspace] <PSWorkspace>]
[[-Kind] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzOperationalInsightsDataSource
[-ResourceGroupName] <String>
[-WorkspaceName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzOperationalInsightsDataSource 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
The credentials, account, tenant, and subscription used for communication with azure
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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, ApplicationInsights, AzureAuditLog, AzureActivityLog, CustomLog, LinuxPerformanceObject, LinuxSyslog, WindowsEvent, WindowsPerformanceCounter, ApplicationInsights |
| Position: | 4 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of a data source to get.
| Type: | String |
| Position: | 3 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
Specifies a workspace in which this cmdlet operates.
| Type: | PSWorkspace |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
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 |
Inputs
Outputs
Notes
- Keywords: azure, azurerm, arm, resource, management, manager, operational, insights