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 / fluentd / fluentd-failed-to-flush-the-buffer ▌

Operations Guides

Fluentd failed to flush the buffer: the output cannot deliver and retries begin

Your Fluentd log starts emitting lines like this, over and over:

[warn]: #0 failed to flush the buffer. retry_time=3 next_retry_seconds=2026-07-21 22:50:11 +0000 chunk="5e1a2b..." error_class=Net::OpenTimeout error="execution expired"

An output plugin tried to flush a buffer chunk to its destination and failed. Fluentd did not lose the chunk; it rolled the chunk back into the queue and scheduled a retry with exponential backoff. The warning repeats once per failed attempt, with retry_time climbing and next_retry_seconds drifting further into the future.

The log line almost always carries the root cause in error_class and error. But while retries cycle, new events keep arriving and the buffer queue grows. If the buffer fills before the destination recovers, your overflow_action decides whether you block inputs or lose data.

What this means

Every output plugin sits behind a buffer. Events accumulate in chunks, chunks move from staged to queued, and flush threads deliver queued chunks to the destination. When a flush raises an exception (connection refused, auth rejection, timeout, TLS failure), the chunk goes back to the queue and the retry engine takes over.

The retry engine works per chunk:

  • Each failure increments the retry step and logs the failed to flush the buffer warning.
  • The wait between attempts grows exponentially (retry_type exponential_backoff is the default, with jitter from retry_randomize true).
  • Retries continue until the chunk succeeds, retry_max_times is hit, or retry_timeout (default 72 hours) expires.
  • On exhaustion, the chunk is discarded, written to the <secondary> output if one is configured, or (on Fluentd v1.19.0 and later with file buffers) evacuated to ${root_dir}/buffer/${plugin_id}/ for later recovery (when no <system> root_dir is configured the fallback is /tmp/fluent, overridable via FLUENT_BACKUP_DIR). On older versions without a secondary, exhaustion means silent data loss with only a log message.
flowchart LR
  A[Chunk queued] --> B[Flush attempt]
  B -->|success| C[Purged - write_count +1]
  B -->|failure| D[Rollback - rollback_count +1]
  D --> E[Retry scheduled with backoff]
  E -->|next attempt| B
  E -->|retry_max_times or retry_timeout hit| F[Discard / secondary / evacuate]
  F --> G[Data loss unless secondary or v1.19.0+ evacuation]

One stalled chunk is noise. The operational problem is the pattern: retry_count climbing, write_count flat, and buffer_queue_length growing because every new chunk joins the backlog behind the failing one.

Common causes

CauseWhat it looks like in the log lineFirst thing to check
Destination down or unreachableerror_class=Errno::ECONNREFUSED, Connection refused, Net::OpenTimeoutCurl the destination endpoint from the Fluentd host
Authentication or authorization failureHTTP 401 / 403, unauthorized, forbidden in the error stringWhether credentials, API keys, or IAM roles were rotated recently
Destination overload or rate limitingHTTP 429, rejected execution, timeouts under loadDestination health (Elasticsearch cluster status, Kafka broker state)
TLS or certificate problemSSL_connect, certificate verify errors, handshake failuresCertificate expiry on both ends: openssl x509 -enddate -noout -in <cert>
Network fault or idle connection dropBroken pipe, Connection resetWhether a load balancer or firewall between Fluentd and the destination kills idle connections
Payload rejected by destinationHTTP 413 or bulk rejections despite small chunksSerialized payload size vs destination limits; a MessagePack chunk becomes a larger JSON body
DNS resolution failureSocketError, getaddrinfo errorsgetent hosts <destination> from the Fluentd host

The error_class and error fields are your primary evidence. Everything else confirms what they already told you.

Quick checks

All of these are read-only.

# 1. Find the failing output and its error
grep "failed to flush the buffer" /var/log/fluent/fluentd.log | tail -20
# td-agent package: /var/log/td-agent/td-agent.log

# 2. See the full error context around the warning
grep -E "failed to flush|retry|temporarily failed|broken pipe" \
  /var/log/fluent/fluentd.log | tail -30

# 3. Per-output retry state and counters
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output") |
      {id: .plugin_id, retries: .retry_count, rollbacks: .rollback_count,
       writes: .write_count, queue: .buffer_queue_length,
       avail_pct: .buffer_available_buffer_space_ratios}'

# 4. Current retry schedule (steps and next attempt time)
# Requires include_retry true in the monitor_agent source on v1.19.3+.
curl -s http://localhost:24220/api/plugins.json | \
  jq '.plugins[] | select(.plugin_category=="output" and .retry != null) |
      {id: .plugin_id, retry: .retry}'

# 5. Test destination reachability from the Fluentd host
curl -sv --max-time 5 https://<destination-host>:<port>/ -o /dev/null

# 6. Check buffer disk consumption (file-backed buffers)
du -sh /var/log/fluent/buffer/
df -h /var/log/fluent/

Notes on these checks:

  • The monitor_agent endpoint requires <source> @type monitor_agent </source> in the config. In multi-worker mode, each worker gets its own port (24220, 24221, …).
  • On Fluentd v1.19.3 and later, retry details in the API response require include_retry true in the monitor_agent source configuration, and URL query parameters such as ?with_retry= no longer work; versions before v1.19.3 included the retry object by default.
  • Check 4 tells you something retry_count alone cannot: if retry.next_time is 20 or 30 minutes out, the pipeline is effectively stalled even though it is technically “retrying.”

How to diagnose it

  1. Identify which output is failing. The warning line includes the plugin id (#0, or a named @id if you set one). Match it to the <match> block in your config to learn which destination is involved.

  2. Read the error class, not just the warning. Connection refused points at a down service or firewall. 401/403 points at credentials. 429 points at destination overload. Broken pipe on an otherwise healthy destination points at idle connections killed by an intermediate load balancer. The error string is the shortest path to the cause.

  3. Confirm the stall in metrics. Pull monitor_agent output twice, 60 seconds apart. If retry_count and rollback_count increment while write_count does not, the output is fully stalled. If write_count still increments occasionally, the destination is intermittently reachable and you are looking at overload or flapping rather than a hard outage.

  4. Check the retry schedule. Look at the retry object: start, steps, next_time. A high step count with next_time far in the future means exponential backoff has pushed recovery far out. Even if you fix the destination now, delivery will not resume until the next scheduled attempt.

  5. Check destination health independently. Do not trust Fluentd’s view alone. Query the destination’s own status and test the network path from the Fluentd host. If the destination looks healthy from elsewhere but not from this host, suspect DNS, firewall, or TLS on the path.

  6. Measure your runway. Watch buffer_available_buffer_space_ratios and buffer_queue_length. Time to overflow is remaining buffer space divided by the current growth rate. That number decides whether you have hours to fix the destination calmly or minutes before overflow_action fires.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
retry_count (per output)Total flush failures; the headline signal for this symptomAny non-zero value sustained; rising delta
write_count (per output)Successful chunk deliveriesFlat while input continues and retry_count grows
rollback_countChunks dequeued for flush and put backRising in step with retry_count
retry.steps / retry.next_timeHow deep into backoff the retry cycle isnext_time more than a few minutes out
buffer_queue_lengthBacklog depth behind the failing outputSustained upward trend
buffer_available_buffer_space_ratiosProximity to overflow and data lossBelow 20% and falling
buffer_oldest_timekeyAge of the oldest undelivered dataGrowing lag vs current time
write_secondary_countChunks already failed over to the secondary outputAny non-zero value means primary exhausted retries
drop_oldest_chunk_countConfirmed data loss (only with overflow_action drop_oldest_chunk)Any increment

One behavioral caveat: retry_count is cumulative. On current Fluentd versions it clears on process restart, not on recovery, so it does not fall back to zero when the destination comes back. Alert on the delta and on the retry object, not on the absolute value.

Fixes

Fixes depend on the cause in the error string. Restarting Fluentd is not a fix; it only resets retry state.

Destination down or unreachable

Restore the destination, or the network path to it. Fluentd recovers on its own at the next scheduled retry. If backoff has pushed retry.next_time far out and you need delivery to resume immediately, a Fluentd restart resets retry state. That is disruptive: file-backed buffers replay on restart, which produces a burst of duplicate delivery downstream. Weigh that against waiting for the next scheduled attempt.

Authentication failure

Rotate the credential in the Fluentd config (API key, password, IAM role, service account) and reload. Auth errors often appear once with a clear message and then get masked by generic retry warnings, so grep back further than the last few minutes if the current lines are vague.

TLS or certificate expiry

Renew the expired certificate on whichever end failed verification. Certificate expiry is a cliff-edge failure: everything works until one exact moment, then all flushes fail at once. Check expiry dates proactively and alert at 30, 7, and 1 days out.

Destination overload (429, rejected execution)

Reduce pressure or increase capacity. On the Fluentd side, lower flush_thread_count or increase retry_wait and retry_max_interval to back off more gently. On the destination side, scale the cluster or raise its limits. Also check payload size: a chunk serialized from MessagePack to JSON can grow substantially, and an oversized bulk request gets rejected even when chunk sizing looks reasonable.

Broken pipe behind a load balancer

If a load balancer or firewall between Fluentd and the destination closes idle connections, long-lived output connections die silently and the next flush fails with Broken pipe. Enable keepalive on the output plugin and set the keepalive interval shorter than the intermediary’s idle timeout.

Retry exhaustion and data safety

If chunks are approaching retry_timeout (default 72 hours) or retry_max_times:

  • Configure a <secondary> output so exhausted chunks fall through to a backup destination instead of being discarded. Watch write_secondary_count so you know when this happens.
  • On Fluentd v1.19.0 and later with file buffers, exhausted chunks are evacuated to ${root_dir}/buffer/${plugin_id}/ rather than discarded, so you can recover them after the destination is fixed. This is disabled when a secondary is configured or retry_forever is set. On older versions, exhausted chunks are simply dropped.

Prevention

  • Alert on the stall, not just the retry. The firing condition that matters is delta(retry_count) > 0 combined with delta(write_count) == 0 and growing buffer_queue_length. Retry count alone produces noise from transient blips that resolve in one or two attempts.
  • Monitor the retry object. Track retry.next_time. A pipeline whose next attempt is 30 minutes away is effectively down, and process-level checks will not tell you.
  • Track buffer runway. Alert when buffer_available_buffer_space_ratios drops below 20% while still filling, and treat sub-5% as imminent overflow. Compute time-to-overflow from the growth rate so you know how much time you actually have.
  • Set overflow_action deliberately. The default throw_exception drops new events silently when the buffer fills, with no reliable counter. Choose block (backpressure to inputs) or drop_oldest_chunk (visible loss via drop_oldest_chunk_count) consciously per output.
  • Configure a secondary for outputs you cannot afford to lose. It converts retry exhaustion from silent data loss into a rerouting event you can measure.
  • Watch certificate expiry and credential rotation calendars. A large share of “failed to flush” incidents that are not destination outages are expired certs or rotated keys that nobody propagated to the Fluentd config.

How Netdata helps

  • Netdata’s Fluentd collector scrapes monitor_agent and charts retry_count, write_count, rollback_count, and buffer metrics per output plugin, so the stall pattern (retries rising, writes flat) is visible on one dashboard without manual curl | jq loops.
  • Per-second collection catches short retry cycles that a slow scrape interval would miss entirely, which matters when a destination is flapping rather than hard down.
  • Buffer queue length and available space ratio are charted over time, so you can see the fill rate and extrapolate time-to-overflow directly from the slope.
  • Anomaly detection on write_count flags a delivery stall even when retry counters look unremarkable, which helps catch intermittent failures early.
  • Correlating Fluentd output metrics with the destination’s own metrics (Elasticsearch indexing rate, broker health) on the same screen shortens the “is it Fluentd or the destination?” question to a glance.