Hi there,
I have below result with this query.
index="abc"
Properties.CorrelationId != XYZ
| stats count by Properties.CorrelationId
| sort - count
| eventstats sum(count) as totalCount
| eval percentage=((count/totalCount)*100)
Result:
Properties.CorrelationId count percentage totalCount
23F4991E-EB37-447A-6702-44B7834DA0E2 7 63.63 33
A8D81A89-2D6A-48AD-733B-CD0A802F62B8 7 63.63 33
D85CB087-6BE9-419E-670A-BD9770525A15 7 63.63 33
1200CC97-6615-4AF4-7586-DC00207AB1E8 6 36.36 33
18F8F6C7-752A-42DB-5880-ABE0BF8E5DE2 6 36.36 33
But what I after is below result. without the Properties.CorrelationId column
Count Total percentage Grand Total
7 3 63.63 33
6 2 36.36 33
... View more