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

Amirhossein Hemmatiyan

02/12/2024, 10:05 AM
hi I want archive my logs in cold storage per day bud also I set retention to 30 days how can I do it? And I have another question! Can signoz compress archived logs?
n

nitya-signoz

02/13/2024, 5:02 AM
Logs are already compressed by clickhouse. For archiving to cold storage you can check this https://signoz.io/docs/userguide/retention-period/#configuring-cold-storage---amazon-s3
a

Amirhossein Hemmatiyan

02/13/2024, 8:49 AM
thank you for answer, my friend, but I don't know how I config storage.xml for daily archiving (with specific time and size)
With what tags can I implement these things?
n

nitya-signoz

02/13/2024, 12:07 PM
Once you configure
storage.xml
you will have an option to specify the time when you want to move to cold storage in the UI https://signoz.io/docs/userguide/retention-period
a

Amirhossein Hemmatiyan

02/13/2024, 12:26 PM
Thank you very much, so I can change the retention time to 1 day and archive my logs daily in cold storage and my live logs aren't deleted from the dashboard. it's true? I'm very sorry, but I have another question! How can I retrieve and view archived logs from the cold storage?
n

nitya-signoz

02/13/2024, 12:27 PM
Even though your logs are moved to archive by clickhouse you will be able to query them without any changes, just that the queries will be slower. Clickhouse will automatically query on the cold storage when you select time range greater than 1 day.
a

Amirhossein Hemmatiyan

02/13/2024, 12:28 PM
Very good, thank you so much bro