Skip Navigation

Deprecating the Log Search API for Azure Log Analytics

Tuesday, 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.

Free account

Get $200 in Azure credits and 12 months of popular services—free

Start free

Visual Studio

Subscribers get up to $1800 per year of Azure services

Activate now

Startups

Join Microsoft for Startups and get free Azure services

Learn more