When making a normal metric aggregation i can modify the values before plotting them in a line chart via the advanced JSON input like this for example:
{"script": {
"inline": "Math.abs(_value)",
"lang": "painless"}}
But when i want to modify the value of a serial diff of a metric aggregation it doesnt work. Is it somehow possible?