Logs and metrics
for apps & servers
Watch your logs live and search them. See CPU, memory, network and disk for every app and server. Nothing to install.
How it works
There’s nothing to set up
Slasha collects logs and metrics as soon as your first container starts.
01
Deploy as usual
Slasha saves stdout and stderr from every container it starts.
git push slasha main02
Follow it live
In the dashboard or your terminal. Filter by process, stream or text.
slasha logs -f -p web -s stderr03
Check the charts
CPU, memory, network and disk, sampled every 10 seconds.
Apps → storefront → MetricsAll your logs
Every log in one place
Builds, releases, web and worker processes, databases, cron runs and node setup. Each line is tagged with its process, like web.0, and its stream.
- Search the whole log
- Filter by process and by stdout or stderr
- Failed deploys keep their logs
Commit
9f3c2e1
Status
Duration
41s
Message
Add pricing page
No lines match.
Builds · runtime · databases · cron runs · node setup
CLI
Read logs from your terminal
slasha logs shows the latest deployment, even a failed one. Follow it live, filter it, or pipe it into grep.
-ffollows new lines-p webmatches all web processes,-p web.1only that one-nsets the line count (default 2000)- Works for databases too:
slasha services logs db
$ slasha logs --search "stripe" -s stderr
02:15:15 [web.0] [stderr] stripe signature mismatch
02:41:02 [web.1] [stderr] stripe signature mismatch
$ slasha logs -f -p worker
02:44:10 [worker.0] [stdout] send-receipt done
02:44:12 [worker.1] [stdout] sync-inventory done
$ slasha logs -n 500 | grep -i timeout
$
App metrics
CPU, memory, network and disk for each app
Recorded every 10 seconds, straight from Docker. Look back up to 30 days, or turn on live mode while you load test.
- CPU, memory, network and disk I/O
- Ranges from 1 hour to 30 days
- Live mode
CPU
25.6%
Memory
261 MiB
Network
179 KB/s
Disk I/O
23 KB/s
Node metrics
Metrics for your servers too
Every server reports CPU, memory, swap, disk, network and load average every 15 seconds. When an app slows down, check if the whole server is busy.
- Main server and every node
- Same 30-day history as apps
Load average
0.41 0.38 0.35
1m · 5m · 15m
Network
↓ 1.2 MB/s
↑ 340 KB/s
Updated every 15s
More details
Live logs
New lines show up as they’re written, in the dashboard and the CLI.
Search
Text search, combined with process and stream filters.
Process prefixes
Lines tagged system, web.0, worker.1 and so on.
Filter by stream
Show only stderr when you’re hunting errors.
No retention limit
Logs stay until you delete the deployment, service or job they belong to.
30 days of metrics
Downsampled for long ranges, with a live mode.
No agents
Read from Docker. Nothing to add to your images.
Stays on your server
Stored in DuckDB next to Slasha. No third-party log service.
Questions about logs & metrics
Have another question? Ask on GitHub.
Do I need to install an agent or a logging library?
How long are logs and metrics kept?
Where is the data stored?
Can I see logs from a deploy that failed?
slasha logs shows the latest deployment by default even if it failed. Pass a deployment ID to read an older one.Can I get notified when CPU or memory runs high?
Can I forward logs to another service?
Other features
All featuresRead your logs without SSHing into the server
Free and open source. Your first app can be live in ten minutes.