Log Analytics, 'Split-by' value in a KQL render query

Simon Magrin 121 Reputation points
2021-09-21T04:44:55.017+00:00

Hi, is there a way to set the 'Split-by' value in a KQL render query? It defaults to a undesired column which I'm hoping to specify in the query, rather having to change it manually. Thanks!133827-e-uwtzcvgaqee10.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,829 questions
{count} votes

Accepted answer
  1. bharathn-msft 5,086 Reputation points Microsoft Employee
    2021-10-10T19:26:49.343+00:00

    <<Converting the information from comments to here for broader community usage>>

    @Simon Magrin - Thanks again for your query, post review with our internal team it has been called out that the only way of doing this is to use a summarize function followed by a ‘by’ operator that will enforce a segmentation of specific dimension.

    Below is an example where we forced it with Statuscode.

     StorageBlobLogs   
     | render columnchart with(title="Authentication", xtitle="Time", ytitle="Duration")  
     | summarize count() by bin(TimeGenerated, 5m), StatusCode  
    

    139196-image.png

    Hope this helps. Let us know if you have any further queries. Thank you


0 additional answers

Sort by: Most helpful