@support how to delete all logs and traces for the...
# support
v
@support how to delete all logs and traces for the docker ?
v
If you are able to connect to clickhouse then you can truncate tables:
Copy code
kubectl exec -n platform -it chi-my-release-clickhouse-cluster-0-0-0 -- sh

clickhouse client

// run below clickhouse queries to trunacte

truncate table signoz_logs.logs;

truncate table signoz_traces.signoz_index_v2;
truncate table signoz_traces.signoz_spans;
truncate table signoz_traces.signoz_error_index_v2;
truncate table signoz_traces.durationSort;
truncate table signoz_traces.top_level_operations;
truncate table signoz_traces.usage_explorer;
v
what about docker then?
v
If you are using docker then try below commands to connect: https://signoz.io/docs/operate/clickhouse/connect-to-clickhouse/#for-docker-users
279 Views