vercel log drains quick questions
Answered
Southeastern blueberry bee posted this in #help-forum
Southeastern blueberry beeOP
yoo quick question. does connecting axiom to vercel cost you money? vercel says it charges 10$ per 20gb processed, but i wanted to check with y'all.
Answered by B33fb0n3
yes and no.
Yes, because vercel itself logs stuff. For example which routes are visited. Axiom will copy (drain) these logs and you get charged for that.
No, because when you use it in your application for example like this:
Then it won't get logged to vercel, but directly to axiom. These won't cost anything.
Yes, because vercel itself logs stuff. For example which routes are visited. Axiom will copy (drain) these logs and you get charged for that.
No, because when you use it in your application for example like this:
log.info("Some logging stuff", {data: "with additional data"})
await log.flush();
Then it won't get logged to vercel, but directly to axiom. These won't cost anything.
6 Replies
yes and no.
Yes, because vercel itself logs stuff. For example which routes are visited. Axiom will copy (drain) these logs and you get charged for that.
No, because when you use it in your application for example like this:
Then it won't get logged to vercel, but directly to axiom. These won't cost anything.
Yes, because vercel itself logs stuff. For example which routes are visited. Axiom will copy (drain) these logs and you get charged for that.
No, because when you use it in your application for example like this:
log.info("Some logging stuff", {data: "with additional data"})
await log.flush();
Then it won't get logged to vercel, but directly to axiom. These won't cost anything.
Answer
Southeastern blueberry beeOP
I want to forward the logs that vercel has like which routes were visited right now. Thank you for the answer!
then, as said: it's paid
Southeastern blueberry beeOP
🫡
tysm!
happy to help