Log related to a group of machines needs to be deleted for every 30 days

What are the settings required to do in loki inorder to delete log data after a certain period ? or May be in Cassandra ?
For ex - Log data should be deleted for every 30 days for a specific host or label .(We use this label to identify a specific team and its their policy to delete logs for every 30 days ) . When a machine or user is removed from environment .

Hi @suresh300567 - Have you checked out the retention and table manager documentation? Retention rules can be configured with the Table Manager, but be sure to read up on the implications for setting these rules in the docs. There are a few examples there for setting the retention period, but it’s not possible to do at at the label level yet.