Deprecating the Log Search API for Azure Log Analytics
Published date: April 24, 2018
In November 2017, Azure Log Analytics customers learned that the Log Search API will be deprecated. This API is used with the old Log Analytics query language.
The Log Search API has been replaced with the Azure Log Analytics REST API. The REST API supports the new query language, as well as higher query limits in terms of the number of returned rows and payload size.
The PowerShell cmdlet Get-AzureRmOperationalInsightsSearchResults has been replaced with the Invoke-LogAnalyticsQuery cmdlet, which also supports the new query language.
The Log Search API will be deprecated during the week of April 30, 2018. Calls made to the Log Search API after its deprecation date will return a 410 error code, along with this message: "Log Search API is deprecated and has been replaced with the new Azure Log Analytics REST API."
To get query results, be sure to migrate any use of the legacy API and PowerShell cmdlet.