A production server hit 100% disk usage, prompting the author to use df, du and find to locate oversized log files, uncover missing rotation, excessive debug logging and a looping exception, then perform urgent cleanup and implement logrotate, log level adjustments, and Prometheus alerts to prevent recurrence.
This comprehensive ELK tutorial walks through the journey of a company whose log volume grew from 1 GB to 1 TB per day, detailing the root causes of cluster failures and providing step‑by‑step guidance on index design, ILM policies, shard sizing, ingest pipelines, query optimization, high‑availability architecture, capacity planning, and security best practices.
When df reports 98% disk usage but du accounts for only 50%, the missing space is typically held by a process that deleted a file but kept its file descriptor open; this article demonstrates how to locate the offending process with lsof, reclaim space instantly via /proc/pid/fd, and prevent recurrence by truncating logs instead of removing them.
Elasticsearch adds a new Columnar Mode in the 9.5 tech preview and 9.6 GA, storing data once in a columnar layout with on‑demand indexing, which cuts storage costs, speeds analytical queries, keeps the existing document mode intact, and offers a migration path for append‑only log and security workloads.
This article provides a step‑by‑step, production‑ready guide to building a complete Linux logging pipeline using rsyslog, systemd‑journald, and logrotate, covering architecture, configuration, performance tuning, security hardening, troubleshooting, monitoring, backup, and recovery for CentOS 7/8 and Ubuntu 20.04/22.04 environments.
The article compares popular log‑collection stacks—ELK/Elastic Stack, EFK with Fluent Bit, and the PLG solution (Promtail + Loki + Grafana)—detailing their components, deployment scenarios, and trade‑offs such as indexing strategy, storage options, and integration with Kubernetes for observability.
During a mid‑year promotion an e‑commerce platform experienced a sudden spike in load average and response latency; the article walks through a systematic, command‑driven investigation that identifies an I/O bottleneck caused by mis‑configured log rotation and excessive debug logging, and presents immediate and long‑term remediation steps.
This article provides a step‑by‑step guide to monitoring, alerting, log management, backup, and incident response for OpenClaw AI agents, sharing real‑world pitfalls, practical metrics, and a comprehensive operational checklist to keep the service healthy and reliable.
This guide walks through a step‑by‑step process for identifying the partitions and files that fill a disk, applying temporary fixes to bring usage below critical levels, and implementing long‑term measures to prevent future disk‑full incidents in production environments.
VictoriaLogs, an open‑source log management database from the VictoriaMetrics ecosystem, offers ultra‑low resource consumption, multi‑protocol ingestion, powerful LogsQL queries, and flexible deployment options—including single‑node, Docker, and clustered setups—making it a compelling alternative to Elasticsearch and Loki.
This guide walks you through identifying which Docker containers are consuming disk space, safely truncating oversized log files, configuring log drivers and rotation policies, setting up centralized logging, and automating cleanup to avoid future disk‑full incidents in production environments.
A 3 AM production outage reveals how massive, unindexed log files can cripple incident response, prompting a detailed comparison of traditional text tools, log rotation, ELK Stack, and Grafana Loki, along with practical tips, common pitfalls, and future trends in log management.
This article explains why deleting huge log files can crash a server, compares the low‑IO echo and truncate commands for safely emptying logs, provides practical examples, parameter tips, additional methods, and best‑practice recommendations for production environments.
VictoriaLogs is a fast, resource‑light, open‑source log database from the VictoriaMetrics ecosystem that offers low RAM and disk usage, multi‑protocol ingestion, powerful LogsQL queries, and flexible deployment options ranging from single‑node binaries to Docker and clustered setups.
This article examines Dify’s production‑scale bottlenecks caused by heavy PostgreSQL logging, explains why a cloud‑native log service (SLS) better matches the append‑only, high‑throughput nature of workflow logs, and provides a step‑by‑step migration guide that dramatically reduces database pressure, storage cost, and unlocks advanced analytics.
This article explains why traditional SpringBoot logging falls short, introduces the Hera log platform’s three core benefits, outlines a layered integration architecture, and provides a detailed five‑step guide—including Maven dependencies, YAML configuration, custom field providers, log output, traceability, and console usage—plus performance, high‑availability, security tips and common pitfalls.
This comprehensive guide walks you through building a scalable EFK log management solution, covering architecture components, high‑availability design, environment preparation, detailed Elasticsearch, Fluentd and Kibana deployment steps, index optimization, monitoring, alerting, security hardening, troubleshooting and best‑practice recommendations for modern cloud‑native operations.
This guide presents a visual, configuration‑driven service manager for SpringBoot applications that streamlines start/stop operations, provides real‑time status and resource monitoring, offers intelligent log handling, supports batch actions, and includes an automated deployment and rollback workflow to improve operational efficiency and reliability.
This guide explains how to use systemd's journalctl for reading, configuring persistent storage, limiting log size, setting up automatic cleanup, and verifying integrity of Linux logs, providing practical commands and configuration snippets for reliable log management.
This comprehensive guide compares ELK, EFK, and Loki log‑management solutions, analyzing their architecture, performance, cost, and use‑case suitability, and provides a decision framework, real‑world case studies, migration strategies, and optimization tips to help teams select the most efficient logging stack for their needs.
This article explains Kafka’s core concepts—including topics, partitions, log segmentation, indexing, and acknowledgment mechanisms—then provides a step‑by‑step guide to deploy a Zookeeper‑Kafka cluster integrated with Filebeat, Logstash, and the ELK stack for reliable log collection and analysis.
This article explains how the cloud‑native Loki logging system combined with S3 object storage can reduce PB‑level log storage expenses by 80‑90%, while simplifying operations, improving query performance, and meeting compliance requirements through detailed architecture, configuration, deployment, and real‑world case studies.
Learn how to design low‑cardinality Loki tags, fine‑tune Chunk compression settings, and implement best‑practice configurations, pipelines, and monitoring to prevent memory overload, improve query performance, and efficiently manage massive log volumes in cloud‑native environments.
This in‑depth technical guide compares ELK, EFK, and Loki across cost, performance, deployment complexity, feature completeness, and suitability for small‑to‑large teams, providing real‑world case studies, decision trees, migration steps, and cost‑optimization tips to help you choose the most efficient logging stack for your organization.
This article explains Alibaba Cloud's Log Service (SLS) soft‑delete feature, describing its mark‑and‑filter mechanism, implementation steps, and real‑world scenarios where it replaces costly hard‑delete or ETL solutions with near‑instant, low‑impact data removal for compliance, emergencies, and test‑data contamination.
A 3 AM production outage reveals how massive, unindexed log files can cripple incident response, prompting a deep comparison of traditional text tools, logrotate, ELK Stack, and Grafana Loki, along with practical tips, common pitfalls, and future trends for effective log management.
This comprehensive guide explains why log management is critical for large Kubernetes clusters, outlines common pain points, presents full‑stack architectures, details EFK and Loki implementations with code samples, and offers performance, security, cost‑optimization, and future‑trend recommendations.
This article explains how InnoDB's redo log works as a safety cushion, detailing its generation, buffering, flushing, circular storage, and recovery process to ensure transaction durability even when the database crashes unexpectedly.
Effective API logging is essential for debugging and compliance, but naive synchronous logging can block the event loop, exhaust disk I/O, and degrade performance; this guide explains why, and provides ten practical steps—including asynchronous loggers, buffering, offloading, sensitive data masking, and monitoring—to keep your server fast and reliable.
This guide explains MySQL logging types—including error, general, binary, and slow query logs—their default settings, how to enable or modify them, how to view and interpret log contents, and practical commands for backup, recovery, and cleanup.
This article reviews the most popular log‑management solutions, summarizing each tool's core features, pricing model, advantages, and drawbacks to help readers choose the right logging stack for their observability needs.
This comprehensive guide explains the EFK (Elasticsearch, Fluentd, Kibana) log management stack, covering its components, architecture, deployment steps, log collection strategies, index optimization, monitoring, security hardening, troubleshooting and best‑practice recommendations for building a reliable, scalable logging solution in modern cloud‑native environments.
This article provides a comprehensive comparison of popular log management solutions—including Filebeat, Graylog, the Elastic (ELK) stack, Grafana Loki, LogDNA, Datadog, Logstash, Fluentd, and Splunk—detailing their main features, pricing models, advantages, and drawbacks to help you choose the right tool for your needs.
Effective log management is crucial for cloud‑native observability, yet common practices like copy‑truncate rotation, NAS storage, multi‑process writes, file‑hole creation, frequent overwrites, and vim edits can cause data loss or duplicate collection; adopting create‑mode rotation, local disks, append‑only writes, and proper tools mitigates these risks.
This article explains Linux inode table structure, how commands like ls, stat, cp, mv, and rm interact with inodes, compares hard and soft links, outlines common system log files and their formats, and demonstrates centralizing logs on a rsyslog server.
This guide explains how to manage systemd journal logs on Linux, covering persistent storage configuration, size limits, various journalctl commands for viewing service, user, command, and boot logs, as well as log rotation, vacuuming, and integrity verification.
Learn how to configure and manage Linux logging services—including rsyslog and systemd‑journal—by understanding common log files, severity levels, log types, server setup, security settings, manual syslog transmission, journal analysis, persistent storage, and log rotation with logrotate to ensure reliable system monitoring.
This article details Baidu's log platform point‑governance practice, explaining why uncontrolled event logging inflates storage and compute costs, and describing a three‑stage solution—manual, semi‑automatic platform, and full‑lifecycle standardization—that uses anomaly detection, automated workflows, and IM bots to achieve massive PV reduction and annual cost savings.
This article details a step‑by‑step investigation of OceanBase single‑node replica expansion failures, highlighting missing sys‑tenant expansion, deprecated table replica commands, log_disk_size misconfiguration, log‑stream mechanics, and provides concrete SQL and ALTER statements to reproduce and resolve the issue.
This guide explains MySQL’s error, general, binary, and slow query logs, covering default settings, how to enable or modify them, binary log formats and recovery procedures, as well as tools for analyzing slow queries, providing a comprehensive reference for database administrators.
This article presents a comprehensive log governance solution that standardizes, integrates, and optimizes distributed system logs—covering traceability, performance analysis, metric monitoring, and large‑payload handling—to improve observability, reduce resource consumption, and enable effective data‑driven decision making.
This guide walks through why enterprises need to scan and protect sensitive log data, explains the regulatory background, and provides a step‑by‑step implementation on Alibaba Cloud using Data Security Center, Logtail, SPL, Ingest Processors, SDKs, StoreView queries and periodic scans to achieve comprehensive data security and governance.
This article explains how to use Filebeat as a lightweight log shipper together with Graylog, Elasticsearch, and MongoDB to collect, process, and visualize logs from multiple environments, including detailed configuration examples, deployment scripts, and integration with Docker and Spring Boot.
This guide explains why and how to split large MySQL log tables by month, covering table design, core SQL statements, required Webman and ThinkORM setup, and complete PHP code for creating, querying, and inserting into monthly partitions.
This article examines Douyin Group’s e‑commerce data‑tracking evolution, detailing the transition from early log‑free collection through Log 2.0’s failed overhaul to the streamlined Log 3.0 framework, and explains the resulting SDK, BTM/BCM management, and attribution platform that solve quality, efficiency, and analysis challenges for data engineers.
This guide walks through Linux logging fundamentals, covering rsyslog service architecture, journald configuration, and logrotate management, while showing how to customize log destinations, use selectors and actions, forward logs over the network, and employ systemd timers for automated rotation.
This article introduces Logstash’s core configuration syntax, explains key filter plugins such as grok, mutate, date, ruby, and aggregate, demonstrates conditional processing and multi‑event handling, and provides practical code examples to help readers efficiently parse, transform, and route log data.
This guide explains how to effectively manage application logs on Linux by defining log content and archiving rules, handling special scenarios like nohup, MySQL, and Nginx, and using tools such as crontab, logrotate, and copy‑truncate to prevent uncontrolled disk growth.
This guide outlines the purpose, scope, principles, and detailed specifications for log management—including file naming, retention periods, content rules, security handling, and monitoring—to ensure reliable issue tracing, data safety, and regulatory compliance across all system development projects.
This article introduces common Linux log files, essential command‑line utilities such as cat, less, tail, grep, awk, and sed for viewing logs, and powerful analysis tools like logrotate, journalctl, logwatch, and goaccess, providing practical examples for effective system log management.
This guide explains how to effectively manage application logs on Linux by defining log content and archiving rules, handling special cases for services like MySQL and nginx, using crontab for scheduled cleanup, and configuring logrotate with detailed options and examples.
This guide explains how to define log management goals, handle special logging scenarios for services like MySQL and nginx, and implement automated cleanup using crontab and logrotate, including detailed configuration options and practical examples for reliable log rotation and storage control.
This article presents a comprehensive log governance and mining solution for distributed systems, covering background challenges, usage scenarios, and detailed strategies such as distributed log integration, front‑back end traceability, standardized log management, large‑payload handling, efficient cleaning, and future plans for componentization and sampling.
This guide explains how to set up Graylog for centralized log aggregation using Docker Compose, configure its inputs, and integrate it with a Spring Boot project via Logback GELF appender to enable searchable, centralized logging across microservice instances.
This guide explains how to design effective log management by defining log content and archiving rules, handling special scenarios for services like nginx and MySQL, and using Linux tools such as crontab and logrotate to automate safe log rotation and cleanup.
This guide explains how to view and manage Linux system logs using command‑line utilities like journalctl and dmesg, direct file access, and graphical tools, providing practical examples, common log file locations, and tips for filtering and monitoring log output.
Learn how to view and analyze Linux system logs using command-line utilities like journalctl and dmesg, explore key log files in /var/log, and leverage graphical tools such as GNOME Logs, KSystemLog, and Logwatch for effective troubleshooting and performance monitoring.
This article details a real‑world investigation of a ZooKeeper election‑port failure that prevented adding observer nodes to a Codis cache cluster, outlines systematic connectivity checks, log analysis, and two migration plans, and finally presents step‑by‑step procedures for rolling upgrades, configuration adjustments, and successful cluster restoration.
The article presents a log‑governance case study that tackles classification, format, and tool chaos by introducing a three‑layer log hierarchy, simple non‑overlapping classification, fixed‑order CSV formatting, and reverse‑printed stack traces, achieving up to 88 % size reduction while improving cost efficiency and adaptability.
Facing massive data volumes, the team at Kuaidi100 redesigned their logging platform, moving from a file‑based system to an ELK stack and finally to a ClickHouse‑based architecture, achieving real‑time, scalable, cost‑effective log collection, analysis, and alerting while addressing storage, performance, and maintenance challenges.
This article details a courier company's evolution from a simple file‑based logging system to a cloud‑native log center, describing the limitations of the original architecture, the migration to an ELK stack, subsequent challenges, and the final redesign using ClickHouse for high compression, low cost, and improved query performance.
Learn how to view and analyze Linux system logs using command-line utilities like journalctl and dmesg, explore key log files such as /var/log/messages and /var/log/auth.log, and discover graphical tools like GNOME Logs and Logwatch for effective troubleshooting and performance monitoring.
This article introduces the ELK stack’s core components, compares four typical deployment architectures—including Logstash‑only, Filebeat‑based, and Kafka‑enhanced setups—discusses their trade‑offs, and provides practical configurations and solutions for multiline log merging, timestamp handling, and module‑specific filtering.
This tutorial walks through setting up a unified real‑time ELK log analysis platform on Ubuntu, covering installation and configuration of Logstash, Elasticsearch, Kibana, integration with Spring Boot and Nginx logs, and managing services with Supervisor for reliable operation.
Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.
The article outlines common logging problems and presents a comprehensive six‑step strategy—including clear logging standards, systematic standard management, a unified SDK, centralized log management systems, regular standard reviews, and lifecycle deprecation—to transform chaotic logs into a reliable tool that boosts development efficiency.
The article explains why comprehensive logging is essential for internet startups, outlines the three stages of a log system, details log levels, required fields, best‑practice principles, collection architectures such as local files and ELK, and how collected logs support monitoring, debugging, and analytics.
This article explains the ELK stack components, compares three typical deployment architectures—including Logstash‑only, Filebeat‑based, and a Kafka‑backed version—and provides detailed configuration examples for multiline log merging, timestamp replacement, and module‑based log filtering.
VictoriaLogs, a log‑storage system marketed as a cost‑effective, high‑performance alternative, is compared against Elasticsearch/OpenSearch, Grafana Loki, and ClickHouse, highlighting its lower RAM and disk usage, faster queries, simplified setup, and specialized features such as LogSQL, Bloom filters, and custom compression.
This article walks you through installing the open‑source WAF‑FLE console, configuring its PHP/LNMP environment, setting up ModSecurity log ingestion with mlog2waffle, and troubleshooting common issues so you can efficiently monitor and analyze web‑application firewall events.
This article explains how Docker integrates with DevOps practices to enhance automation, streamline continuous integration and deployment, enable comprehensive container, application, and infrastructure monitoring, and centralize log collection and analysis, providing practical code examples for building, testing, deploying, and managing services efficiently.
This article introduces five widely used log management solutions—Graylog, LogDNA, ELK Stack, Grafana Loki, and Splunk—detailing their core components, main features, and why they are valuable for monitoring, troubleshooting, and securing modern IT environments.
This article reviews six open‑source log management solutions—OpenObserve, Grafana Loki, SigNoz, Graylog, Syslog‑ng, and Highlight.io—detailing their features, advantages, and drawbacks to help engineers select the most suitable tool for observability, monitoring, and cost‑effective log handling.
This article provides a side‑by‑side comparison of nine popular log management tools—Filebeat, Graylog, LogDNA, ELK, Grafana Loki, Datadog, Logstash, Fluentd and Splunk—detailing each product's core features, pricing models, advantages and disadvantages to help you choose the right solution for your observability needs.
This tutorial explains how to set up a unified ELK (Elasticsearch, Logstash, Kibana) real‑time log analysis platform on Ubuntu, covering component installation, Logstash shipper and indexer configurations, integration with Spring Boot and Nginx logs, and background management with Supervisor.
OpenObserve is a Rust‑based, cloud‑native observability platform that offers log, metric, and trace collection with up to 140‑times lower storage costs than Elasticsearch, supports both single‑node and HA deployments, provides a built‑in UI, and includes detailed installation and query examples for Kubernetes environments.
This article compares six open‑source log management platforms—OpenObserve, Grafana Loki, SigNoz, Graylog, Syslog‑ng, and Highlight.io—detailing their features, deployment options, advantages, and drawbacks to help you choose the most suitable solution for effective observability and system performance.
This guide explains the three main ELK deployment architectures, compares Logstash and Filebeat collectors, introduces a cache‑queue option for high‑volume logs, and provides practical solutions for multiline log merging, timestamp correction, and module‑level filtering in Kibana, helping operations teams build efficient log pipelines.
This article reviews five Python logging libraries—logging, logbook, Eliot, Raven, and Sentry—explaining their features, configuration methods, and providing code examples to help developers implement effective log management in API automation projects and services.
This article provides a comprehensive overview of Kafka's architecture and fundamental concepts, covering its overall structure, key components such as brokers, producers, consumers, topics, partitions, replicas, leader‑follower synchronization, offset handling, message storage at both logical and physical layers, as well as producer and consumer workflows, partition assignment strategies, rebalancing, log management, zero‑copy I/O, and reliability mechanisms.
This article examines the challenges of logging in distributed services, compares the traditional ELK stack with Baidu's Tianyan solution, details Tianyan's architecture—including Ingest, Store, Consumer, Elastic Agent, Fleet, APM, Beats, and Disruptor‑based high‑throughput pipelines—covers resource isolation, dynamic cleanup, and best‑practice recommendations for building a scalable, low‑latency log platform.
This guide explains why nginx logs grow, introduces Logrotate as the Linux log‑management tool, walks through installation, core configuration, custom rotation rules, manual execution, compression options, time‑ and size‑based policies, hourly scheduling, and handling SELinux when rotating nginx logs.
This article provides a detailed comparative overview of nine popular log management solutions—including Filebeat, Graylog, LogDNA, ELK, Grafana Loki, Datadog, Logstash, Fluentd, and Splunk—covering their core features, pricing models, strengths, and weaknesses to help readers choose the most suitable tool for their environment.
This article provides a detailed comparison of nine popular log management solutions—Filebeat, Graylog, LogDNA, ELK Stack, Grafana Loki, Datadog, Logstash, Fluentd, and Splunk—covering their core features, pricing models, advantages, and drawbacks to help readers choose the right tool for centralized logging.
An in‑depth comparison of nine popular log‑management solutions—including Filebeat, Graylog, LogDNA, the ELK stack, Grafana Loki, Datadog, Logstash, Fluentd, and Splunk—covers their core features, pricing models, advantages, and drawbacks, helping readers choose the right tool for centralized logging and analysis.
The article examines Android's DropBoxManagerService architecture, its configurable file retention policies, naming conventions, atomic operations, and broadcast mechanisms, then applies these patterns to propose a client‑side log management system using a producer‑consumer model with prioritized temporary storage, rename‑based reporting, and FileObserver‑driven collection respecting network, data, timing, priority, and battery constraints.
This article explains how to install Logrotate on Linux, configure it to rotate Nginx access and error logs by size, time, or frequency, demonstrates manual rotation commands, compares copytruncate and create options, and shows how to customize cron schedules and handle SELinux permissions.
This article provides a detailed comparison of nine popular log management tools—including Filebeat, Graylog, LogDNA, ELK, Grafana Loki, Datadog, Logstash, Fluentd, and Splunk—covering their main features, pricing, advantages, and disadvantages to guide readers in selecting the most suitable solution for their needs.
This article provides a comprehensive comparison of nine widely used log management tools, detailing their core features, pricing models, advantages, and drawbacks to help readers make informed decisions when selecting a logging solution for their infrastructure.
This article introduces the ELK stack’s core components, compares three typical deployment architectures—including Logstash‑only, Filebeat‑assisted, and Kafka‑backed designs—highlights their trade‑offs, and provides practical solutions for multiline log merging, timestamp correction, and module‑specific filtering using Logstash and Filebeat configurations.
This guide explains how logrotate automates log rotation, detailing its configuration files, common directives such as rotate, daily, size, compress, postrotate, and sharedscripts, and provides practical examples for managing large log files efficiently on Linux servers.
This article provides a detailed comparison of nine popular log management solutions—including Filebeat, Graylog, LogDNA, the ELK stack, Grafana Loki, Datadog, Logstash, Fluentd, and Splunk—covering their main features, pricing models, advantages, and disadvantages to help readers choose the right tool for their needs.
This article explains the three common ELK stack deployment architectures—using Logstash, using Filebeat, and adding a caching queue—compares their resource impacts, and provides practical solutions for multiline log merging, timestamp correction, and module-based filtering in Kibana.
This case study details how NetEase Interactive Entertainment’s data team tackled massive log‑management chaos, storage bloat, and high overseas costs by standardizing logs, sharing a real‑time ODS layer, automating lifecycle management, tiered storage, and peak‑shaving compute scheduling, ultimately saving millions of yuan.
This article walks through the fundamentals of Linux log management by introducing Rsyslog, showing how to install it on CentOS, configure facilities and severity, and demonstrate practical examples for aggregating web server access logs to a central application server.
This step‑by‑step guide walks you through deploying the ELK stack—Elasticsearch, Logstash, Kibana, and Filebeat—using Docker on an Ubuntu VM, covering configuration, code examples, common pitfalls, and troubleshooting to enable efficient log collection and analysis.
NetEase Yanxuan built a unified log platform that consolidates collection, delivery, processing, storage, analysis, and alerting for near‑real‑time and offline logs, using Flume, a Golang‑based Loggie agent, Kafka, Flink, HBase and Elasticsearch to ensure high performance, data‑quality, container‑native isolation, full‑link traceability, and automated scaling, with Loggie now open‑sourced.