https://signoz.io logo
#support
Title
# support
r

Rahul Tiwari

10/06/2022, 5:38 AM
Hello Team, I got one requirement, any data or metrics or logs older than 7 days needs to be moved to my s3 bucket, i have s3 bucket enabled in my signoz can anyone help me how should i achieve this.
p

Prashant Shahi

10/06/2022, 5:41 AM
Hey @Rahul Tiwari You can set TTL from setting page from SigNoz UI. Total retention period is the total duration for the data (metrics/traces/logs). Move to S3 is the duration after which data in disk (volume) is moved to cold storage.
The setting you have done is such that telemetry data is stored in disk for 6 days and moved to S3, where it is stored for 1 day (7 - 6) before getting removed.
r

Rahul Tiwari

10/06/2022, 5:50 AM
Can you help me what value should i use to achieve my requirement.
p

Prashant Shahi

10/06/2022, 5:58 AM
Total retention period:
30 days
Move to S3:
7 days
^ This configuration moves data from disk to S3 in 7 days, while data is removed from S3 after 30 days.
r

Rahul Tiwari

10/06/2022, 6:01 AM
Ok
@Prashant Shahi Thank you for the help
p

Prashant Shahi

10/06/2022, 6:07 AM
@Ashu can you please update the docs to include above information in detail? https://signoz.io/docs/userguide/retention-period/
a

Ashu

10/06/2022, 6:52 AM
ok @Prashant Shahi let me create a PR for the same.
7 Views