Forum Discussion
Guillem Sola Aranda
Sep 20, 2017Copper Contributor
Azure log analytics timechart with multiple dimensions
Following the https://docs.loganalytics.io/docs/Learn/Tutorials/Charts-and-diagrams#multiple-dimensions it says Multiple expressions in the by clause creates multiple rows, one for each combination...
Guillem Sola Aranda
Sep 20, 2017Copper Contributor
Not as clean as I would like but I have figured out that a string concatenation would do the trick
Perf
| where (CounterName == "Bytes Received/sec" or CounterName == "Bytes Sent/sec") and InstanceName matches regex "^Microsoft Hyper-V Network Adapter.*$"
| summarize avg(CounterValue) by strcat(Computer, " ", CounterName), bin(TimeGenerated, 10s)
| render timechart