Hello Everyone,
As I delve into Signoz with Helm on-prem K8 cluster, I'm transitioning from EFK for shipping k8 pod logs to Signoz.
I'm in search of housekeeping scripts for ClickHouse, specifically to maintain only the last 60 days of pod logs. Any references or suggestions would be greatly appreciated.
Thanks in advance!
r
Rudraksh Kulshreshtha
03/22/2024, 6:05 AM
You don't really need scripts for that - if you navigate to the SigNoz dashboard and head to
Settings
, you'll see retention settings for metrics, traces and logs - can just configure the retention period there.
➕ 1
s
Srikanth Chekuri
03/22/2024, 8:36 PM
Do this before you send any large volume of data and don't change it often. The TTL change in ClickHouse is the most painful thing to deal with.