How to rotate sentry logs?

Hi every body
I have sentry on-premise on my ubuntu 20.04 with 200GB Storage, 16 Core CPU and 24GB RAM.
in my scenario i sent all logstash output from my kubernetes microservice filebeats to sentry.
I dont have any extra disk space and storage.
how can I delete issues older than specific days.
kind regards.

Don’t know about logs but Sentry has an adjustable retention rate of 90 days: onpremise/.env at f5411170ac0fb7f5ce8e7f5a1b21b16cbb176937 · getsentry/onpremise · GitHub

You can reduce this value to 60 or 30.