How to sum the max metric values by grouping in Sumologic
Using queries for a metric I use, I am trying to sum all of the Max values grouped by a field task_id
.
I have tried a few variations, e.g.
metric=flink_taskmanager_job_task_operator_KafkaProducer_record_send_total namespace="flink" deployment="flink-job" | sum by task_id
, and none gives as a result the sum of a specific task_id Max values.