Cloudflare Logpush to Axiom

Yes
7 Replies
dominicchapman
dominicchapman•9mo ago
Hey @bun, I wanted to check if you found success pushing logs to Axiom. Here to help if needed 🙂
bun
bunOP•9mo ago
No Was something updated? Last time i checked it needed a enterprise account
ItsWendell
ItsWendell•9mo ago
@bun @dominicchapman If this is simply about pushing logs from Workers to Axiom, I've personally created a tailer worker to push logs to Axiom. You don't need an Enterprise account for that. Here's what my code looks like. It slightly changes the structure to be more convenient for us, it could probably still use some work but it's a start! The only limitation that we still sometimes run into is that a worker produces too many logs, which well then be truncated by Cloudflare in a tail worker.
ItsWendell
ItsWendell•9mo ago
Cloudflare Docs
Tail Workers · Cloudflare Workers docs
Track and log Workers on invocation by assigning a Tail Worker to your projects.
bun
bunOP•9mo ago
wow this is a nice solution @ItsWendell however, does this incur charges for workers?
ItsWendell
ItsWendell•9mo ago
@bun yes, regular worker charges apply, CPU time and invocations But cpu time is very, very low
bun
bunOP•9mo ago
ye i see
Want results from more Discord servers?
Add your server