Oct 13 2017
11:31 AM
- last edited on
Apr 07 2022
04:46 PM
by
TechCommunityAP
Oct 13 2017
11:31 AM
- last edited on
Apr 07 2022
04:46 PM
by
TechCommunityAP
Hello all,
Previous to workspace upgrade, I was able to issue a query with Get-AzureRmOperationalInsightsSearchResults and get proper results back. After upgrade this is what I am getting back. Any advise on how to troubleshoot the issue?
$OmsQuery='AzureDiagnostics | where Category !contains "Output" '
Get-AzureRmOperationalInsightsSearchResults -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName -Query $OmsQuery
Id :
Metadata : Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchMetadata
Error : Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchError
Value :
Oct 13 2017 11:59 AM
Never mind. The release notes state that cmdlet is not yet upgraded.
PowerShell cmdlets Question: Does the Log Search PowerShell cmdlet get updated after I upgrade?
The Get-AzureRmOperationalInsightsSearchResults has not yet been upgraded to the new search language. Continue to use the legacy query language with this cmdlet, even after you upgrade your workspace. Updated documentation will become available for the cmdlet when it's updated.
Oct 16 2017 01:26 AM
SolutionOct 16 2017 04:50 PM
Thanks for pointing it out. We'll update the release notes as well.
Oct 16 2017 01:26 AM
Solution