Hi @Gurudas Pise ,
Indeed use the parse operator, like suggested. The query, with the render of the column chart, will be:
let Example = datatable(LogMessage: string)
[
"#TotalVM:15,Running:10,highcompute:5"
];
//
let temp = Example
| parse LogMessage with * "TotalVM:" TotalVM: long * ",Running:" Running: long * ",highcompute:" highcompute: long *
| extend Stopped = TotalVM - Running, nonhighcompute = TotalVM - highcompute;
//
temp
| project Running, Stopped
| extend ColumnNr = 1, ColumnTitle= "Total VM"
| union (temp
| project highcompute, nonhighcompute
| extend ColumnNr = 2, ColumnTitle= "High Compute VM")
| render columnchart with (kind=stacked, xcolumn=ColumnTitle)
I had to do a trick to make the two columns in the columnchart, so therefore I added the ColumnNr and ColumnTitle.
More info about the column chart can be found here: https://video2.skills-academy.com/en-us/azure/data-explorer/kusto/query/visualization-columnchart?pivots=azuredataexplorer
Kind regards, Wilko
Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members. If you have extra questions about this answer, please click "Comment".