I have a KQL query as follows.

cluster('Cluster1').database('DBName').TableName
| union cluster('Cluster2').database('DBName').TableName
| where TIMESTAMP > ago(1h)
   | extend API = <API Condition>
| project TIMESTAMP, request_uri, responsecode, CorrelationTag, tenantId, API
| order by todatetime(TIMESTAMP) desc
| summarize count() by API, responsecode, bin(TIMESTAMP, 5m)
| render timechart

THis produces a timechart as
enter image description here
API:APIName:Count
But I want to get the chart like within a given API what are the responsecodes like a 500, 200 etc..colorcoded.
How would I achieve that?

Khám phá các thẻ bài đăng