I want to add the in_usage and out_usage value from the below table.
for example, I want to add in_usage with out_usage and result should be as total. Likewise for other values. can someone give ideas for this.
Please refer the attached screenshot for you reference
Thank you. It worked. I have different hostname and metric_name. So i have added host and metric_name at the end
| bin _time span=1h | stats sum(Avg) as total by _time host metric_name