< Back

Get-AzureRmOperationalInsightsDataSource

Thu Apr 04, 2019 5:39 am

NAME Get-AzureRmOperationalInsightsDataSource



SYNOPSIS

Get datasources under Azure Log Analytics workspace.





SYNTAX

Get-AzureRmOperationalInsightsDataSource [[-Workspace] <PSWorkspace>] [[-Kind] {AzureAuditLog | AzureActivityLog | CustomLog |

LinuxPerformanceObject | LinuxSyslog | WindowsEvent | WindowsPerformanceCounter | AzureAuditLog | AzureActivityLog | CustomLog |

LinuxPerformanceObject | LinuxSyslog | WindowsEvent | WindowsPerformanceCounter}] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmOperationalInsightsDataSource [[-ResourceGroupName] <String>] [[-WorkspaceName] <String>] [-Kind] {AzureAuditLog | AzureActivityLog |

CustomLog | LinuxPerformanceObject | LinuxSyslog | WindowsEvent | WindowsPerformanceCounter | AzureAuditLog | AzureActivityLog | CustomLog |

LinuxPerformanceObject | LinuxSyslog | WindowsEvent | WindowsPerformanceCounter} [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Get-AzureRmOperationalInsightsDataSource [-Workspace] <PSWorkspace> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]



Get-AzureRmOperationalInsightsDataSource [-ResourceGroupName] <String> [-WorkspaceName] <String> [-Name] <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 <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



-Kind <String>

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



- AzureActivityLog



- CustomLog



- LinuxPerformanceObject



- LinuxSyslog



- WindowsEvent



- WindowsPerformanceCounter



Required? false

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of a data source to get.



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

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



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



<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



PSWorkspace

Parameter 'Workspace' accepts value of type 'PSWorkspace' from the pipeline





OUTPUTS

System.Collections.Generic.List`1[Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource]





Microsoft.Azure.Commands.OperationalInsights.Models.PSDataSource







NOTES





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



1:















RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... datasource

Remove-AzureRmOperationalInsightsDataSource

Set-AzureRmOperationalInsightsDataSource