Loki Manual Log Retention or Log Deleting

Hi everyone, we deployed Grafana, Loki, Promtail in a K8s cluster. We store Loki chunks in a persistence volume. I searched, log retention period is minimum 24h. How to delete newer logs before 24h period.Is it possible ? or Is it possible to do it in less than 24h ?

The other question, will there be a problem if I delete any chunk manually?

Thanks in advance for answers.

The recommended period for index is 24h. I would not recommend deleting chunks before 24h.

And no, you probably don’t want to remove chunks manually. You’ll get errors from querier.