HACKER Q&A
📣 vsroy

Simple Logging / Stats Solution?


I have a bunch of side projects running on platforms like Heroku/fly.io/etc. They are usually NodeJS.

I want a very simple logging solution (since platforms like fly.io do not retain logs). Think, logging K/V pairs from NodeJS that get streamed to some server.

Ideally, the logging solution would be something simple I can spin up in a Dockerfile on fly.io--but I'm also open to using hosted alternatives.

It just seems like things like prometheus/loki are much too heavyweight--for my extremely basic usecase.

The core requirement is simplicity / ease of use. Single-node, very easily dockerized, nothing to think about.


  👤 francoismassot Accepted Answer ✓
Where do you want to store the logs? What are your contraints on the durabibility?

You can use Quickwit (disclaimer: cofounder here), it ingests/indexes logs and has a very basic UI. Logs can be stored locally or on an object storage. However, you need to handle auth stuff yourself.

If a hosted alternative is ok for you, I would try Loki/Grafana though I did not test their SaaS.


👤 necovek
You can always go old-school with a node running internet-accessible syslogd.