~ $ diff alternatives
Self-hosted logs for one app.
Datadog, Grafana Loki, Sentry, and an ELK stack each do a larger job. Here is when LogNorth fits, and when you should pick the other tool.
[01] self-hosted
Self-hosted logs.
LogNorth is for one person, or a team of two or three, running a web app on a server they control.
Hosted log tools are built for many customers at once. They bill by volume. Your logs, stack traces, and user ids are stored on their servers.
One app does not need that. LogNorth is one Docker container and one SQLite file.
LogNorth is built on logs. Errors, alerts, and failing requests come from the logs you already write. Uptime is a check of your URL every minute, kept next to them.
It is free and open source under MIT. No license key. It sends no telemetry.
[02] datadog
A self-hosted Datadog alternative.
Datadog is hosted. It is for many services in one account. Logs, traces, and metrics stay on their servers, and the bill grows as you send more. Stack traces, file paths, and user ids leave your machine.
LogNorth is for a small app. The logs stay on the machine you run. The same class, file, and line become one issue. Alerts compare each endpoint with its own history.
LogNorth doesn't do distributed tracing or a separate metrics store, so pick Datadog if you need those. Pick Datadog if you do not want to run a server for this. Pick it if the team already runs Datadog.
[03] loki
A Grafana Loki alternative.
Grafana Loki is for people who already run Grafana, or who need a log store of its own. Grafana Loki stores the logs. Grafana shows them. An agent such as Alloy or Fluent Bit ships them. Traces are Grafana Tempo. Metrics are Prometheus.
Alert rules are separate. A failing request stays a line in the log. It is not grouped into an issue. Uptime is a different tool.
LogNorth is one container and one SQLite file, for when you do not want to run that stack. Search is a text match on the message, the context, and the trace id on the log. There is no LogQL, and no second service to run. The same class, file, and line become one issue. Alerts compare each endpoint with its own history.
Pick Grafana Loki if your metrics are already in Grafana and the logs should be on those dashboards. Pick it if you have many services, or a volume that needs its own log store. Pick it if you want LogQL. Pick it if you want traces in Grafana Tempo and metrics in Prometheus.
[04] sentry
A self-hosted Sentry alternative.
Sentry is for error tracking, and for session replay, profiling, and tracing. It groups exceptions. Logs and uptime are not why you add it.
LogNorth stores the log line and the exception together, in one container. It does not accept a Sentry SDK. You send events with a LogNorth SDK, with OpenTelemetry logs, or with the HTTP API. What it takes to self-host Sentry is on LogNorth vs Sentry.
LogNorth doesn't do distributed tracing. Pick Sentry if you need that. Pick Sentry if you want session replay or profiling. Pick it if the Sentry SDK is already in the app and you are keeping it. Pick it if the team uses Sentry's release and performance tools.
[05] elk
Your own ELK, OpenSearch, or Graylog stack.
Elasticsearch, Logstash, and Kibana, OpenSearch, and Graylog are for logs from many systems. Those stacks search a large volume from many sources. You run the database, the pipeline that receives logs, and the UI.
LogNorth is for one app, or a few apps, on one server. It stores events in one SQLite file. Retention defaults to 90 days. You can change it. There is no cluster to run.
LogNorth is one tenant. It will not do that job. Pick ELK, OpenSearch, or Graylog if many systems send logs and you need to search across all of them. Pick them if someone will operate that cluster.
One container. Your server. Free under MIT.