Azure Portal Log Analytics bug

Gleb Boushev 6 Reputation points
2025-07-06T02:33:52.1933333+00:00

Found a bug in Azure portal User's image

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,668 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Deepanshu katara 16,940 Reputation points MVP Moderator
    2025-07-07T07:06:59.19+00:00

    Hello Gleb , Welcome to MS Q&A

    I think more than a bug it seems to me like an incorrect call

    You're trying to query a Basic Logs table using the standard query API, which is not supported. For Basic Logs, you must use the /search API instead of /query

    Fix

    Update your API call to use:

    https://api.loganalytics.io/v1/workspaces/{workspaceId}/search
    
    
    

    Instead of

    https://api.loganalytics.io/v1/workspaces/{workspaceId}/query
    

    Also, make sure your query syntax is compatible with the Basic Logs format.

    Pls check and let us know

    Thanks
    Deepanshu


  2. Alex Burlachenko 11,350 Reputation points
    2025-07-07T08:17:09.37+00:00

    Hi Gleb,

    thanks for sharing this. u're hitting that pesky 'query not supported' error because basic logs tables need a different api endpoint. instead of the usual 'query' one, u gotta use the 'search' endpoint https://aka.ms/basicLogsQueryAPI.

    what u can do right now: switch your api call from '.../query' to '.../search'. yes its a small change but it makes all the difference )) if u're using something like powershell or python, just update the url in your code. here's a tiny example if it helps

    # old way (won't work)  
    # url = 'https://api.loganalytics.io/v1/workspaces/workspaceldi/query'  
    
    # new way for basic logs  
    url = 'https://api.loganalytics.io/v1/workspaces/workspaceldi/search'  
    
    

    as well check this sometimes the workspace id gets mistyped. worth looking into even if u're sure its correct ))

    when u see api endpoint errors, always peek at the exact api version and path. this might help in other tools too, not just azure.

    oh and if it still acts up after changing the url, that request id (10ec3fbf-975b-4ae5-a605-d9742e04fb2a) is golden. microsoft support can trace everything with it.

    basic logs are cheaper but have some limits. u might wanna check if standard logs fit better for heavy query needs. their pricing page has deets https://azure.microsoft.com/pricing/details/monitor/.

    keep us posted if u crack it )

    Best regards,

    Alex

    and "yes" if you would follow me at Q&A - personaly thx.
    P.S. If my answer help to you, please Accept my answer
    

    https://ctrlaltdel.blog/


  3. Dan Rosenbloom 0 Reputation points
    2025-07-09T18:42:20.4333333+00:00

    To add to the people who have answered without full context, this error in embedded in the Azure Portal.

    If you go to an effected Log Analytics Workspace, then go to Monitoring > Insights, you will see all of the graphs are broken. This seems to only be affecting some of my LAWs, but I'm not sure why.

    User's image
    If you click the "expand" the query, you'll get a similar error:

    User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.