Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Data Log Cleaner and Plotter

Don't just grep your network logfiles - plot them!

This technical note provides an overview, architecture breakdown, and operational guide for the plotter repository. The system automated the parsing, filtering, and graphical visualization of 24-hour network performance datasets..

  1. System Overview.
    The core purpose of this toolchain was to ingest raw network traffic or metric logs, strip away corrupted or unparseable entries, compute running averages, and output a time-series chart mapping network trends over a standard daily cycle.

    The software stack relies on a multi-language architecture:
    Python (97.6%) | Orchestrates data flow, manages bad data routing, and handles chart generation.
    AWK | Used for lightweight, streaming statistical aggregations.

  2. Component directory architecture.
    The workspace is organized into explicit functional domains to separate input, output files from processing logic:

Image
  1. Data processing pipeline.
    Execution flows through three sequential steps.

    Stage 1: Data Ingestion and Sanitization | log_plotter.py
    The script reads raw raw log files from logDir/. Structural anomalies, null values, or incomplete lines are automatically stripped out and written to BAD_DATA.txt to keep the primary pipeline stable.

    Stage 2: Aggregation | avg.awk
    The sanitized network metrics are passed through the AWK script.
    It processes timestamps and aggregates columns (such as throughput, latency, or packet volumes) into calculated averages.
    This humble awk script performs Statistical Feature Engineering (Temporal Abstraction),
    where raw log data is transformed into structured numerical vectors representing traffic characteristics.

    Stage 3: Visual Rendering | log_plotter.pyAction
    Python reads the compiled averages, maps them across a 24-hour timeline, and outputs polished visual trends to resultDir/.

  2. Dependencies and environment
    The script isolates its third-party requirements (expectedly packages like matplotlib or pandas) inside the my_env/ virtual directory. To recreate the runtime state, you must source this environment or review its binaries if you migrate the project to a modern system.

About

Data processing pipeline: ingesting, cleaning, extracting features (from raw data to structured numerical vectors representing traffic characteristics: throughput, latency, volume), visual rendering.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages