Replies: 1 comment
-
|
Forgot about this thread so here's the late update. While it's not possible to do it on the frontend, it's perfectly doable by querying clickhouse directly. Steps
> KUBECONFIG=kube-config kubectl port-forward service/coroot-clickhouse -n coroot 8123:8123
> KUBECONFIG=kube-config kubectl get secrets coroot-clickhouse -n coroot -o json | jq -r ".data.password | @base64d" | pbcopy
SELECT
"Body"
FROM
"otel_logs"
WHERE "ServiceName" = '/k8s/ingress-nginx/ingress-nginx-controller'
AND "Timestamp" BETWEEN '2025-03-29' AND '2025-03-29 11:22:33'
ORDER BY "Timestamp" ASC(note this table contains a shitton of rows so don't run it without filters :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey
Is there a way to download all logs (preferably in the raw form) within the specified timeframe from the frontend?
At the moment, it seems, one can only do it by setting the limit to some extremely large number, when calling the rest endpoint directly.
That or downloading it from clickhouse directly.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions