I am not an expert of kibana. Not sure to understand your logic to implement in kibana. could you please elaborate how to calculate SUM(F2) group by A & B for each time_stamp ?
I think it's like a window function where window is a unique combination of time_Stamp+F1 but don't know how to do it in kibana.