Good day,
I have this SPL:
| 2023-01 | 113575 | 29512 | 7177373 | 1619396 |
| 2023-02 | 230629 | 42239 | 4779801 | 1063153 |
| 2023-03 | 253770 | 55769 | 7246548 | 1792831 |
| 2023-04 | 139419 | 36156 | 8175076 | 2192272 |
| 2023-05 | 144117 | 40335 | 2781698 | 740369 |
| 2023-06 | 314684 | 81621 | 5574141 | 1420760 |
| 2023-07 | 163672 | 47112 | 13643474 | 3957452 |
| 2023-08 | 281891 | 65004 | 6481422 | 1587176 |
| 2023-09 | 4596 | 6508 | 62384 | 98312 |
I would like to add the 'RemediatedComputerCount: #' columns to a total column by month next to the existing columns. Then add another column with totals for 'cvetotal: #'. I don't want totals of each column for a grand total at the bottom, just the total of the like columns in a new one by _time.
Suggestions? Thanks!
Use the addtotals command which will sum up the fields you specify - it supports wildcards
| addtotals RemediatedComputerCount* fieldname=RemediatedComputerCount
| addtotals cvetotal* fieldname=cvetotal
Use the addtotals command which will sum up the fields you specify - it supports wildcards
| addtotals RemediatedComputerCount* fieldname=RemediatedComputerCount
| addtotals cvetotal* fieldname=cvetotal
Thanks that worked. I was running down the addcoltotals letting the column get in my way. Simple solution, thanks!