Thanks for your answer.
I have tried the new Time Series visualization but I do not know how to make sub aggregation.
I need to aggregate over time.
Then I need to apply a filter.
Then I need to split series to show one line per type.
It seems like after I have made a filter aggregation in the new visual builder I can not make another aggregation.
Or at least I do not know how to do it and no one has been able to answer my question in this forum.
https://discuss.elastic.co/t/several-groupings-using-visual-builder/100519/2
Timelion is too painful to maintain when you have many graphs.
Br Mathias