How to manage log retention on disk in Loki

Hi ,

I wanted to understand how does tablemanager config in Loki helps in logs retention and deletion of older logs on disk . I have an installation where with 50GB of disk space and would like to retain only last 30 days of logs .

Regards ,