The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / logstash / logstash-how-it-works-in-production ▌

Operations Guides

How Logstash actually works in production: a mental model for operators

Most Logstash incidents are diagnosed badly because the operator is reasoning about the wrong system. They see a “log shipper” and check whether the process is up. The process is up. The API returns 200. Nothing is being delivered. Or they see high CPU and assume the host is undersized, when the real problem is one grok pattern with catastrophic backtracking. Or they watch queue depth stay flat for hours and conclude all is well, while the persistent queue quietly absorbs a downstream outage that will page someone at 4 a.m. when it fills.

Logstash is not a log shipper. It is a JVM-based, queue-backed, multi-threaded batch processor with a plugin architecture. Every characteristic failure falls out of that description once you understand the data path and where backpressure flows. This article builds that mental model: the internal machinery, the resources it competes for, the five failure archetypes that cover nearly everything you will see in production, and the signals that map to each part of the machine.

If you already run Logstash and want the monitoring model first, read this before touching thresholds or runbooks.

What it is and why it matters

A Logstash process hosts one or more pipelines. Each pipeline is an independent event-processing assembly line: input plugins pull events from the outside world, a codec turns raw bytes into Event objects, a central queue buffers those events, and a fixed pool of worker threads pulls batches off the queue and runs them through the filter chain and then the outputs.

Two properties of this design drive almost all operational behavior:

  1. The worker pool is fixed and shared. The number of workers is set by pipeline.workers (default: CPU core count). Each worker processes one batch at a time, through every filter in order, and then blocks until the output acknowledges the batch. A worker stuck waiting on a slow output is not processing anything else.

  2. Backpressure propagates backwards through the whole path. Slow output blocks workers. Blocked workers stop draining the queue. A full queue blocks input threads. Blocked inputs stall upstream senders (Beats, Kafka consumers, TCP clients), which then buffer, lag, or drop depending on their own behavior. One slow Elasticsearch cluster can, through this chain, take down an entire telemetry path while every component reports itself “running.”

How it works: the data path

flowchart LR
  subgraph inputs["Input stage"]
    I1["Input plugin 1
(own thread)"] I2["Input plugin 2
(own thread)"] end C1["Codec
(line, json, multiline)"] Q["Queue
(memory or persistent)"] W["Worker pool
(pipeline.workers)"] F["Filter chain
(sequential, in-worker)"] C2["Codec"] O["Output plugins"] UP["Upstream senders
(Beats, Kafka, TCP)"] UP --> I1 UP --> I2 I1 --> C1 I2 --> C1 C1 -->|events| Q Q -->|batches of 125| W W --> F F --> C2 C2 --> O O -.->|slow output blocks worker| W W -.->|workers stop draining| Q Q -.->|full queue blocks inputs| C1 C1 -.->|senders buffer, lag, or drop| UP

Inputs. Each input plugin (Beats, Kafka, TCP, HTTP, file, S3, JDBC, syslog, and so on) runs in its own thread. Inputs push raw bytes through a codec (line, json, multiline) which deserializes them into Logstash Event objects. Note what this implies: codec work happens on the input thread, before the queue. A misbehaving multiline codec does not show up as filter cost. It shows up as reduced input throughput, and bytes dropped before they become events are invisible to events.in entirely, because the counter only sees events that made it through the codec into the queue.

Queue. The queue is the central buffer and the most architecturally important element. Two modes:

  • Memory queue (default): a bounded in-memory buffer. No durability. If the process dies, queued events are gone. It is small by design, so it fills fast and backpressures inputs almost immediately when workers fall behind. Failure here is abrupt: you get little warning and lose in-flight data on crash.
  • Persistent queue (PQ): page-based on-disk queue (default 64MB pages, default 1GB max via queue.max_bytes). Events are written to page files and checkpointed, so they survive restarts. The tradeoff is a whole new failure surface: disk I/O saturation, page corruption after unclean shutdown, checkpoint lag, and disk space exhaustion. The PQ also delays failure visibility. It can absorb a downstream outage for hours, looking perfectly healthy, right up until it hits queue.max_bytes and inputs block instantly.

Workers, filters, outputs. Workers pull batches from the queue (pipeline.batch.size, default 125 events; pipeline.batch.delay, default 50ms, caps how long a worker waits for a full batch). Each worker runs its batch through the entire filter chain sequentially: every filter plugin, in order, in the same thread. Then the same worker pushes the batch to the output plugins and waits for acknowledgment.

This is the single most important mechanical fact for diagnosing Logstash: filters and outputs execute in the same thread, and the output call blocks that thread. There is no separate output pool absorbing downstream slowness. A 2-second Elasticsearch bulk response does not just add 2 seconds of latency; it removes one worker from circulation for 2 seconds. Enough slow responses and every worker is parked on I/O, the queue stops draining, and the pipeline wedges with low CPU, because waiting threads do not burn cycles.

Dead letter queue (DLQ). Optional and disabled by default. Captures events that permanently fail specific output failure classes (coverage depends on the output plugin and failure mode; not all failures qualify). It has its own size limit (default 1GB) and a storage policy (drop_newer or drop_older) for when it fills. Two operational consequences: without a DLQ, events that fail permanently after retries are logged and lost; and with a DLQ, replay is a manual operation most teams never perform, so the DLQ becomes silent data loss with extra disk usage unless you monitor it.

Multiple pipelines. Since 6.0, one Logstash process can run many pipelines via pipelines.yml. Each has its own queue, workers, and plugin chain, but they share the JVM heap. This matters for monitoring: aggregate node stats average away localized failures. One dead pipeline out of five drops aggregate throughput by 20%, below most alert thresholds. Per-pipeline queries against /_node/stats/pipelines/<pipeline_id> are not optional in multi-pipeline deployments.

Resources the pipeline competes for

ResourceHow Logstash uses itFailure signature when exhausted
JVM heapIn-flight events, filter state, plugin buffers, memory queueGC pauses, death spiral, OOM kill
CPUGrok, dissect, JSON parsing, Ruby filters, date parsingQueue grows with high CPU and high worker utilization
Disk I/OPQ page writes, DLQ writes, sincedb, logsPQ drain slows, queue_push_duration rises
File descriptorsOne per tailed file, per connection, PQ pagesNew connections and file opens fail abruptly
NetworkOutput connections, input listenersOutput duration climbs, retries rise
Worker threadsFixed pool, one batch at a timeQueue grows even with idle CPU (threads parked on I/O)

The two traps worth memorizing are heap and worker threads. The JVM heap holds in-flight events, and GC pauses freeze the entire pipeline, including the monitoring API. The worker pool is the hard concurrency ceiling: when all workers are blocked on output I/O, adding CPU does nothing, because the bottleneck is waits, not compute.

The five failure archetypes

Nearly every Logstash incident is one of these, and each has a distinct signal fingerprint:

1. Backpressure wedge. Outputs slow or fail, queue fills, inputs block, upstream backs up. CPU is usually low because workers wait on I/O. The tells: output duration rising, output errors or retries in the log (429s, timeouts, connection failures), queue growing, flow.queue_backpressure rising. Hot threads show workers parked in output calls.

2. Compute bottleneck (“grok hell”). Expensive filters consume all CPU: complex regex with catastrophic backtracking, Ruby filters, heavy JSON manipulation, DNS enrichment. CPU is high, worker utilization is pinned near 100%, queue grows, and per-plugin stats show one filter dominating worker_utilization or duration_in_millis. Distinguished from the backpressure wedge by CPU and by the absence of output errors.

3. GC death spiral. Heap fills, GC runs longer and more often, processing time collapses, events accumulate, heap fills faster. The process stays alive and the API may still answer, but useful throughput is near zero. The correct signal is not peak heap usage but the post-GC floor: if the heap level after collection keeps ratcheting upward and old-gen GC time climbs, you are in or approaching the spiral. Alerting on heap_used_percent > 80% fires on every normal GC peak, trains everyone to ignore it, and is already silenced when the real crisis arrives.

4. PQ exhaustion. A downstream outage lasts longer than the persistent queue’s capacity. Occupancy climbs steadily, everything looks stable, and then queue.max_bytes is reached and inputs block with no grace period. The only advance warnings are occupancy trend and fill rate (flow.queue_persisted_growth_bytes). The question to always be able to answer: (queue.max_bytes - queue_size_in_bytes) / current_fill_rate = how many minutes of runway remain.

5. Silent correctness failure. The pipeline is up, throughput is normal, and the data is wrong: _grokparsefailure tags rising, DLQ growing, field drift, event duplication, in/out ratio drifting from the intended transformation ratio. Every availability and throughput metric stays green. This is the most dangerous archetype precisely because availability monitoring cannot see it; it only surfaces through correctness signals like the grok filter failures counter, DLQ growth, and destination-side tag queries.

Where the deployment shape changes the model

  • Memory vs persistent queue. Memory queue makes failure abrupt and queue depth less visible; PQ adds disk monitoring, corruption risk, and the “healthy until suddenly not” masking pattern.
  • Containerized Logstash. Cgroup CPU limits (CFS quota throttling) make moderate-looking CPU usage misleading: the process may be throttled while reporting well under 100%. Pod termination may not wait for queue drain, and OOM kills against a PQ create the corruption scenario.
  • Kafka input. When Logstash consumes from Kafka, consumer group lag is the primary backlog signal, not the internal queue, and Kafka retention gives far longer runway than any Logstash queue.
  • Logstash-to-Logstash. In two-tier (shipper to aggregator) deployments, the central instance’s input queue is the bottleneck and monitoring shifts to connection health between tiers.
  • Load-balanced instances. Health checks must tolerate Logstash’s slow startup (JVM warmup, filter and regex compilation: expect low throughput and high CPU for the first 30-60 seconds, and gate alerts on jvm.uptime_in_millis).

Signals to watch in production

These map directly onto the machine described above. All come from the node stats API (default port 9600) unless noted.

SignalWhat part of the machine it measuresWarning sign
pipelines.<name>.flow.output_throughputEnd-to-end useful workZero while input throughput is non-zero (the “living dead”)
pipelines.<name>.queue.events_count / queue_size_in_bytesQueue occupancyMonotonic growth over 15 minutes; PQ occupancy over 80%
pipelines.<name>.flow.queue_backpressureInput threads blocked on the queueSustained rise above baseline (inputs being throttled)
pipelines.<name>.flow.worker_utilizationWorker pool saturationSustained above 90%; per-plugin breakdown shows which stage dominates
pipelines.<name>.flow.queue_persisted_growth_bytesPQ fill ratePositive during a downstream incident: compute runway immediately
jvm.mem.pools.old.used_in_bytes (post-GC floor)Heap healthFloor ratcheting upward; old-gen above 85% of its max
jvm.gc.collectors.old.collection_time_in_millis (rate)GC overheadOld-gen GC consuming over 10-20% of wall time
process.open_file_descriptors vs max_file_descriptorsFD pressureRatio over 80%, or slow growth over weeks (leak)
plugins.filters[].failures (grok)Data correctnessAny sustained rise above baseline
pipelines.<name>.dead_letter_queue.queue_size_in_bytesPermanent delivery failuresAny unexpected growth; replay is manual
pipelines.<name>.reloads.failuresConfig driftAny failure: running config now differs from deployed config

Two measurement cautions from the field. First, pipeline stats reset on config reload, creating artificial zero-dips in graphs; do not mistake them for outages. Second, do not poll the API faster than about every 10 seconds: the metrics endpoint itself can slow an extremely loaded instance.

How Netdata helps

The failure archetypes above are distinguishable only by correlation, and correlation is where per-second collection pays off:

  • Backpressure vs compute, at a glance. Queue growth plus low CPU plus rising output errors is a downstream problem; queue growth plus high CPU plus high worker utilization is filter cost. Watching both planes on one dashboard separates the two wedges without a hot-threads capture.
  • PQ runway before the page. Queue occupancy, queue_persisted_growth_bytes, and filesystem free space trended together turn “PQ masking an outage” from an invisible time bomb into a countdown you can act on.
  • The post-GC floor, not the peak. Per-second JVM heap and old-gen collection metrics make the sawtooth floor visible, so heap alerts key on accumulation instead of firing on every normal GC peak.
  • The living dead. Process liveness says nothing about delivery. Alerting on output throughput gated on input throughput and JVM uptime catches the alive-but-useless states (GC spiral, wedged workers, failed reload) that systemd checks miss.
  • Per-pipeline and per-plugin breakdowns. In multi-pipeline deployments, per-pipeline throughput and per-plugin duration surface the one failed pipeline or the one expensive filter that node-level aggregates average away.
  • Cold-start noise suppression. Uptime-aware alerting avoids paging on the normal 30-60 seconds of JVM warmup, JIT compilation, and PQ replay after restarts.