Guide
What is log-based monitoring?
Log-based monitoring derives metrics, alerts, and insights directly from application logs rather than from synthetic probes, status endpoints, or pre-instrumented code. Instead of asking “is the server alive?” it answers “what did the application actually do?”
Every application produces logs. HTTP requests, authentication attempts, database queries, email sends, background jobs, errors, configuration changes - all recorded as events. Log-based monitoring reads these events, extracts patterns, and turns them into signals you can act on.
The problem with synthetic monitoring
Traditional monitoring pings your server, checks HTTP status codes, and measures response time from the outside. This tells you one thing: the server responds. It tells you nothing about what happened inside.
Synthetic check says
- “Site is up”
- “Response time 340ms”
- “Status: 200 OK”
Logs say
- “23 emails failed to deliver”
- “Cron hasn’t run in 3 days”
- “501 failed login attempts at wp-login.php”
- “PHP fatal in checkout callback”
The site is “up.” The application is broken. Synthetic monitoring cannot see the difference.
Why log-based monitoring catches what others miss
Logs are a complete record of what your application did. Every event is there - whether someone anticipated it or not. Log-based monitoring doesn’t require you to predict what will break. It watches everything and surfaces what matters.
What log-based monitoring detects that synthetic checks cannot:
- Email delivery failures - forms submit, emails don’t arrive
- Cron not running - background tasks silently stop
- Authentication attacks - brute-force attempts against login pages
- Suppressed PHP errors - fatal errors caught by the error handler
- Queue failures - background jobs accumulating without processing
- Configuration drift - settings changed without anyone noticing
- Performance degradation by route - admin slow, frontend fast
How log-based monitoring works
The core idea is simple: read logs, derive metrics, evaluate rules, trigger alerts.
Ingest structured logs
Your application ships log events as structured JSON. Each event has a type, timestamp, and payload with relevant details.
Derive metrics
Metric definitions match log events by conditions and extract counts, rates, and durations. A single event can produce multiple metrics.
Evaluate rules
Rules define thresholds, time windows, and suppression policies. “Alert when failed logins exceed 10 in 5 minutes” or “alert when cron has not run in 24 hours.”
Alert with evidence
When a rule fires, the alert includes the exact log events that triggered it. Not “something is wrong” but “here’s exactly what happened.”
Log-based monitoring vs APM vs uptime monitoring
| Uptime monitor | APM | Log-based | |
|---|---|---|---|
| Detects downtime | Yes | Yes | Yes |
| Detects silent failures | No | Partial | Yes |
| Email delivery tracking | No | No | Yes |
| Cron monitoring | No | Partial | Yes |
| Security signals | No | No | Yes |
| No code changes | Yes | No | Yes |
| Audit trail | No | Partial | Complete |
Logystera: log-based monitoring for WordPress and Drupal
Logystera is built specifically for log-based monitoring. A lightweight WordPress or Drupal plugin captures structured log events - HTTP requests, authentication, cron, email, errors, configuration changes - and ships them to the Logystera processor.
The processor applies pre-built metric definitions and detection rules tuned for WordPress and Drupal. Metrics are derived from what actually happened in your logs. Rules evaluate those metrics and trigger alerts with evidence - the exact log events that caused the alert.
No synthetic probes. No code instrumentation. No sampling. Just what your application actually did.
When to use log-based monitoring
Log-based monitoring is the right choice when:
- Your site “works” but you suspect things are failing silently
- You need to detect the absence of expected events (cron not running, emails not sending)
- You manage multiple WordPress or Drupal sites and need centralized visibility
- You need an audit trail for compliance or incident investigation
- You want alerts that include evidence, not just a notification
Stop checking if your server responds. Start seeing what your application does.
Log-based monitoring doesn’t replace uptime checks. It reveals everything uptime checks are blind to. The failures that cost the most - lost emails, broken cron, silent errors, security gaps - are the ones that only logs can see.
Logystera doesn’t guess. It derives truth from logs.
Related Logystera content
WordPress Log Monitoring
Applied to WordPress specifically.
Uptime vs Health
The case against synthetic-only monitoring.
WordPress Cron Not Running
A canonical log-based detection.
Vault Audit Log Monitoring
Same approach for HashiCorp Vault.
Logystera Architecture
How log-based monitoring is engineered at scale.
Frequently asked questions
What's the difference between log-based monitoring and APM?
APM (Application Performance Monitoring) tools instrument code at runtime — they install agents that hook into PHP/Ruby/Java internals to capture every function call, query, and HTTP request. Log-based monitoring reads what the application already writes. APM gives finer-grained data; log-based monitoring is lighter, doesn't need agent installation, and works for systems where APM agents aren't available.
Why aren't synthetic checks enough?
A synthetic check probes a known endpoint and verifies the response. It can't see what the application does between probes — emails sent or not sent, cron tasks run or skipped, errors logged but not surfaced. Synthetic checks are a useful tripwire for outright failure but blind to silent degradation.
Do I need to write parsing rules for every log format?
With raw text logs, yes — and that's the painful part of building log monitoring yourself. The shortcut is to use applications (or plugins) that emit structured events natively in JSON, with a known schema. Then parsing becomes interpretation rather than text matching.
What about cost — log volume is expensive on traditional log services?
It can be. The two ways out: (1) only capture event-level signals you actually use (filter aggressively at the source), and (2) derive metrics from logs and only retain logs short-term — long-term storage of metrics is much cheaper than long-term storage of raw logs.
See what's actually happening in your systems
Connect your site. Logystera starts monitoring within minutes.