Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
realtime_log_analyzer.h File Reference

Real-time log analysis with anomaly detection. More...

#include <kcenon/common/interfaces/logger_interface.h>
#include <kcenon/logger/analysis/log_analyzer.h>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <deque>
#include <functional>
#include <memory>
#include <mutex>
#include <regex>
#include <shared_mutex>
#include <string>
#include <unordered_set>
#include <vector>
Include dependency graph for realtime_log_analyzer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::logger::analysis::anomaly_event
 Represents an anomaly event detected during real-time analysis. More...
 
struct  kcenon::logger::analysis::realtime_analysis_config
 Configuration for real-time log analysis. More...
 
struct  kcenon::logger::analysis::pattern_alert
 Pattern alert configuration. More...
 
class  kcenon::logger::analysis::realtime_log_analyzer
 Real-time log analyzer with anomaly detection. More...
 
struct  kcenon::logger::analysis::realtime_log_analyzer::statistics
 Get current statistics. More...
 
struct  kcenon::logger::analysis::realtime_log_analyzer::timestamped_entry
 
class  kcenon::logger::analysis::realtime_analyzer_factory
 Factory for creating configured realtime log analyzers. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 
namespace  kcenon::logger::analysis
 

Detailed Description

Real-time log analysis with anomaly detection.

Since
3.2.0

This file provides real-time log analysis capabilities including:

  • Error spike detection
  • Pattern-based alerting
  • Rate anomaly detection
  • New error type tracking

Unlike the post-hoc log_analyzer, this class is designed to be integrated directly into the logging pipeline for real-time monitoring and alerting.

Definition in file realtime_log_analyzer.h.