Influx Database size (again)

Is there any documentation around HA and Influx?
My database is getting huge, I don’t want to keep everything for ever but I would like to keep a few things for a long time (e.g. some temperatures).

Is there any way to have some granular control?

And if so is there a way to prune the existing DB?

This is my last snapshot (7zip)

image