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-file-input-sincedb ▌

Operations Guides

Logstash file input and sincedb: re-read loops, duplicates, and FD pressure

Your Logstash process looks healthy. The API answers, the pipeline is running, workers are busy. Then someone downstream asks why the same log lines appear three times in Elasticsearch, or why events.in just spiked to ten times its baseline, or why Logstash is logging “too many open files” while traffic looks normal.

All three symptoms usually trace back to the same component: the file input plugin and its position-tracking file, the sincedb. The file input holds one file descriptor per tailed file and records how far it has read in a sincedb file on disk. When that tracking breaks (corruption, inode reuse after rotation, a remounted filesystem changing device numbers, a wildcard that suddenly matches thousands of files) the failure shows up as duplicate events, unexpected events.in spikes, or climbing process.open_file_descriptors.

What this means

The file input tails files by tracking read position per file. Each tracked file is identified by a triple key: inode number, major device number, and minor device number. The sincedb file on disk maps that key to a byte offset. On a clean shutdown, and periodically while running, Logstash flushes its in-memory positions to sincedb so it can resume where it left off after a restart.

Two consequences follow from this design:

  1. Identity is positional, not path-based. If the inode behind a path changes (rotation that deletes and recreates, rsync copying a new file over an old one, a SAN/NFS remount changing device numbers), Logstash can no longer reliably connect “the file at this path” to “the position I recorded.” Depending on timing, it either re-reads from the beginning (duplicates) or seeks to a stale offset in a completely different file (lost or garbled data).
  2. Every tailed file costs a file descriptor. A path pattern like /var/log/**/*.log that matches thousands of files means thousands of open FDs, until the plugin’s own cap or the OS limit stops it. FD exhaustion is a cliff-edge failure, not a graceful one.
flowchart TD
  A[File input tails files] --> B{sincedb position valid?}
  B -->|yes| C[Resume from recorded offset]
  B -->|corrupt / inode reused / device changed| D[Re-read from start or seek stale offset]
  D --> E[events.in spikes]
  E --> F[Duplicate events downstream]
  A --> G{How many files match path pattern?}
  G -->|thousands| H[One FD per tailed file]
  H --> I[open_file_descriptors climbs toward max]
  I --> J[New opens and connections fail]

The spike in events.in combined with downstream duplicates is the signature of sincedb corruption. If you see that combination, you are almost certainly in this failure mode, not in a backpressure or filter problem.

Common causes

CauseWhat it looks likeFirst thing to check
Sincedb corruption or lost flush after unclean shutdownevents.in spikes after restart; downstream sees the tail of every file againDid Logstash get OOM-killed or kill -9’d? Check journalctl -u logstash and kernel logs for OOM
Inode reuse after rotation or rsyncPeriodic duplicate batches aligned with rotation schedule; occasionally data read from mid-fileCompare rotation timing to duplicate bursts; check whether rotated files are deleted and recreated
Filesystem remount changing device numbersDuplicates after mount event; multiple sincedb entries for what is logically the same fileCheck mount history (journalctl, /proc/mounts changes); SAN/NFS remounts are the classic trigger
sincedb_path set to /dev/null or unwritableEvery restart re-reads all matched files from the beginningRead the input config; confirm sincedb files exist and are being written under the data dir
Same sincedb_path shared by multiple file inputsErratic re-reads and interleaved positions across inputsGrep all pipeline configs for duplicate sincedb_path values
Wildcard matches thousands of filesopen_file_descriptors climbs; “Reached open files limit” warnings in logs; new connections failCount matched files with the same glob; compare process.open_file_descriptors to max_file_descriptors

Quick checks

All read-only.

# 1. Pipeline event counters: is events.in spiking beyond what sources should send?
curl -sS http://127.0.0.1:9600/_node/stats/pipelines?pretty

# 2. FD pressure right now
curl -sS http://127.0.0.1:9600/_node/stats/process?pretty
# Compare open_file_descriptors against max_file_descriptors

# 3. FD count from the OS side
PID=$(pgrep -f org.logstash.Logstash)
ls /proc/$PID/fd | wc -l
grep "Max open files" /proc/$PID/limits

# 4. What is the file input actually holding open?
ls -l /proc/$PID/fd | grep -v socket | awk '{print $NF}' | sort | uniq -c | sort -rn | head -30

# 5. Find the sincedb files and inspect them (inode, device major/minor, offset columns)
find /var/lib/logstash \( -name '.sincedb*' -o -name 'sincedb*' \) 2>/dev/null
head -5 $(find /var/lib/logstash -name '.sincedb*' | head -1)

# 6. Count files matched by your configured path patterns
# Adjust the glob to match your input's path setting
ls /var/log/myapp/*.log 2>/dev/null | wc -l

# 7. Look for the FD-limit warning and rotation-time errors
grep -Ei 'open files limit|too many open files|sincedb' /var/log/logstash/logstash-plain.log | tail -n 50

# 8. Check uptime and recent restarts (unclean shutdown loses unflushed sincedb state)
curl -sS http://127.0.0.1:9600/_node/stats/jvm?pretty | grep uptime
journalctl -u logstash --since '24 hours ago' | grep -Ei 'start|stop|kill|oom' | tail -n 20

The sincedb file format is plain text, one line per tracked file: inode, device major, device minor, byte offset, and timestamp columns. If you see the same inode on multiple lines, or offsets that exceed the current file size, tracking state is already inconsistent.

How to diagnose it

  1. Confirm the symptom class. Pull /_node/stats/pipelines twice, 60 seconds apart. Compute the events.in rate. Compare it to what the tailed files can actually be producing (check file growth with du or by watching a file’s size). If events.in is far above real file growth, Logstash is re-reading, not tailing new data.
  2. Check for the restart correlation. Get jvm.uptime_in_millis. If uptime is short and the spike started at startup, suspect lost sincedb state: an unclean shutdown (OOM kill, kill -9, SIGKILL after container grace period) means positions held in memory were never flushed to disk, so the last chunk of every file is re-read. If the config sets sincedb_path => "/dev/null", every restart re-reads everything by design.
  3. Check for the rotation correlation. If duplicates arrive on a schedule (hourly, daily), line the timing up with your rotation tool. Rotation schemes that copy-and-truncate or that delete and recreate files change inodes. Since identity is (inode, device major, device minor), a recreated file is either a brand-new file (read from start_position) or, worse, an inode that was recycled from a file Logstash already tracked (seek to a stale offset in unrelated content).
  4. Inspect sincedb on disk. Match sincedb lines against live files: stat -c '%i %D %s' /path/to/file gives inode, device, and size. Note that %D prints the device number in hex while sincedb records major and minor device numbers as separate decimal values, so convert before comparing. A sincedb entry whose inode no longer exists, or whose offset exceeds the file size, is stale. Multiple entries for the same logical file across a remount indicates device-number drift.
  5. Quantify FD pressure. Divide open_file_descriptors by max_file_descriptors. Above 80% sustained, you are in the warning zone. Then count how many files your path patterns actually match. If the count is in the thousands, FD exhaustion is structural, not a leak.
  6. Rule out the other spike causes. An events.in spike can also come from upstream catch-up after a queue blockage. Check queue.events_count and flow.queue_backpressure: if the queue was full just before the spike, the input was throttled and is now draining buffered data. Sincedb re-reads show up without a preceding full queue.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
pipelines.<name>.events.in (rate)Re-read loops show up here first as an input-side spikeSustained rate far above real source file growth
events.in vs events.out vs events.filteredCardinality drift catches duplication and silent lossIn/out ratio deviates from the pipeline’s known transformation ratio
process.open_file_descriptors / process.max_file_descriptorsOne FD per tailed file; cliff-edge at the limitRatio > 80% sustained, or steady growth without workload change
jvm.uptime_in_millisShort uptime after a crash correlates with lost sincedb flushesUnexpected uptime resets
Log file: “Reached open files limit”The file input’s own cap being hitAny occurrence; count of “files yet to open” shows backlog
Downstream duplicate rateThe user-visible consequence of re-readsSame document content appearing multiple times per rotation window
Sincedb file state (expert level)Stale entries predict the next re-read before it happensOffsets exceeding file size; duplicate inodes; entries for deleted files

Fixes

Repair sincedb state

If sincedb is corrupted and causing re-reads, the blunt fix is to stop Logstash, move the sincedb file aside, and start Logstash so it rebuilds positions. Understand the tradeoff: with default start_position => "end", rebuilt tracking starts at the end of each file, so you skip unprocessed backlog but avoid duplicates. With start_position => "beginning", you re-read everything, which is exactly the duplicate storm you are trying to escape. Do not delete sincedb while Logstash is running; the input holds state in memory and will write the stale view back over your fix.

Verify sincedb_path is a real, writable file path on persistent storage, unique per file input. Sharing one sincedb path across multiple inputs corrupts both inputs’ tracking. Setting it to /dev/null disables persistence entirely, which is fine for one-shot imports and wrong for production tailing.

Survive rotation and inode changes

  • Prefer rotation schemes that rename rather than delete-and-recreate where you control the log producer. The file input has fixes for copy/truncate and rename cascading schemes in plugin 4.1.x (rotation start-position handling since 4.1.7), but delete-and-recreate with inode reuse remains the hardest case.
  • Tune sincedb_clean_after (default 14 days) down toward your rotation cadence. Expiring stale sincedb records protects against inode recycling: a recycled inode whose record has expired is treated as a new file instead of being seeked to a stale offset. For daily rotation, 14 days is far too conservative. Note that plugin versions before 4.1.15 had a duration-conversion bug that made cleanup take vastly longer than configured (fixed in 4.1.15); check your plugin version if cleanup does not seem to happen.
  • Be aware that virtualized or network storage (SAN, NFS) can change device minor numbers across remounts, which breaks the identity triple even when the inode is stable. If you tail from such mounts, expect duplicate sincedb entries after remount events and plan cleanup accordingly.
  • Prevent unclean shutdowns from losing state. The plugin updates positions in memory and flushes periodically (sincedb_write_interval, default 15 seconds). A kill -9 or OOM kill loses up to that interval of progress per file, which is re-read on restart. Fix the OOM cause (heap sizing, container memory limits) and ensure your service manager sends SIGTERM and waits for shutdown, so sincedb flushes.

Contain FD pressure

  • Narrow the path patterns. Match what you actually need to tail. /var/log/**/*.log across a busy host can match thousands of files; per-application patterns with explicit directories rarely do.
  • Respect the plugin’s cap. The file input enforces max_open_files (default 4095) and logs “Reached open files limit” with a count of files yet to open. If you see this, the input is not even tailing everything you asked for; some files are silently deferred. Raising the cap alone just shifts pressure to the OS limit.
  • Raise OS limits only alongside scope reduction. If you genuinely need to tail thousands of files, raise the systemd LimitNOFILE for the Logstash unit and confirm max_file_descriptors via /_node/stats/process. But FD exhaustion is cliff-edge: also watch close_older (default 1 hour) so inactive files release their FDs instead of being held forever.
  • Watch for the hard ceiling at extreme scale. The file input’s codec identity map has a documented capacity of 20,000 identities per input (Elastic’s file-input engineering post), with idle identities evicted after roughly an hour; beyond the cap, new identities are not tracked. Split files across multiple file input stanzas, or move high-cardinality tailing to a dedicated shipper such as Filebeat.

Prevention

  • Monitor FD ratio, not just count. Alert on open_file_descriptors / max_file_descriptors above 80% sustained, and trend it weekly. FD problems build slowly and fail suddenly.
  • Alert on input-rate anomalies relative to baseline. An events.in spike is as meaningful as a drop. Baseline-relative alerting catches re-read loops that absolute thresholds miss.
  • Track event cardinality. For pipelines without clone/split/drop, out should track in. A sustained mismatch after restarts or rotation windows points at re-reads.
  • Treat sincedb as state that matters. Put it on persistent, local disk, one path per input, and include sincedb health (stale entries, offset vs file size) in periodic checks.
  • Align sincedb_clean_after with rotation cadence and verify your plugin version is past the known duration-conversion and rotation-handling bugs.
  • Count your globs in CI or config review. A path pattern is a capacity decision. If a pattern can match more files than your FD budget allows, that is a design defect, not an operational surprise.

How Netdata helps

  • Netdata collects the Logstash node stats API signals that matter here: events.in per pipeline, process.open_file_descriptors against max_file_descriptors, and JVM uptime, so a re-read spike shows up as an input-rate anomaly correlated with a recent restart.
  • Correlating events.in against host-side log file growth (disk and file activity on the tailed directories) separates real source volume from re-read amplification without manual sampling.
  • FD ratio trending over weeks catches the slow climb toward the cliff edge long before “too many open files” appears in logs.
  • Per-pipeline views keep a file-input re-read loop visible even in multi-pipeline deployments where aggregate stats would dilute the spike.
  • Anomaly detection on events.in flags rotation-time duplicate bursts that recur too infrequently for static thresholds to catch reliably.