Hello, I have following content in the event and I want to display TotalSpace and ConsumedSpace in the single pie chart.
For an instance: if the TotalSpace is 1000 and the ConsumedSpace is 250 then the 1/4th of the pie should display as ConsumedSpace over TotalSpace.
This is total space is TotalSpace=2000
This is Available space is AvailableSpace=1000
Query which I had written:
index=sai_core source="size" Name="Bollam" | eval ConsumedSpace = TotalSpace - AvailableSpace
| stats first(ConsumedSpace) as ConsumedSpace by TotalSpace