# vinodjk76/loganalytics architecture

> Architecture diagram of the GitHub repository vinodjk76/loganalytics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vinodjk76/loganalytics
- Repository: https://github.com/vinodjk76/loganalytics

## Overview

Tiny Log & Error Tracker Dashboard is a single-file Tkinter desktop app for loading and exploring application logs. The main workflow is user-selected file loading, timestamped-entry parsing with continuation lines attached as stack traces, in-memory retention, filtered table display and KPI updates, then row selection for detailed inspection. The graph also preserves the documented filtering, color highlights and stack-inspector capabilities. All implementation nodes point to log_dashboard.py; the excerpt does not show every parsing or inspector detail, so relationships are limited to those visible in the excerpt.

Main entry points: [`log_dashboard.py`](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py) (Dashboard UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Log intake"]
  node_picker["File picker<br/>[log_dashboard.py]"]
  node_parser["Log parser<br/>[log_dashboard.py]"]
  node_logs[("In-memory logs<br/>[log_dashboard.py]")]
end

subgraph group_dashboard["Dashboard"]
  node_ui["Dashboard UI<br/>[log_dashboard.py]"]
  node_filter["Filter and table<br/>[log_dashboard.py]"]
  node_kpis["KPI counters<br/>[log_dashboard.py]"]
end

subgraph group_inspection["Log inspection"]
  node_inspector["Stack inspector<br/>[log_dashboard.py]"]
end

node_user(("User"))
node_logfile["Log file"]

node_user -->|"uses"| node_ui
node_ui -->|"opens"| node_picker
node_picker -->|"selects"| node_logfile
node_parser -->|"reads"| node_logfile
node_parser -->|"appends entries"| node_logs
node_ui -->|"loads and parses"| node_parser
node_ui -->|"applies filter"| node_filter
node_filter -->|"reads"| node_logs
node_filter -->|"updates counts"| node_kpis
node_ui -->|"opens on double-click"| node_inspector
node_inspector -->|"reads selected entry"| node_logs

click node_ui "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_picker "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_parser "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_logs "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_filter "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_kpis "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"
click node_inspector "https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_picker,node_parser,node_logs,node_user toneBlue
class node_ui,node_filter,node_kpis toneAmber
class node_inspector toneMint
class node_logfile toneIndigo
```

## Components

### Log intake

- [File picker](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`
- [Log parser](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`
- [In-memory logs](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`

### Dashboard

- [Dashboard UI](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`
- [Filter and table](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`
- [KPI counters](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`

### Log inspection

- [Stack inspector](https://github.com/vinodjk76/loganalytics/blob/main/log_dashboard.py): `log_dashboard.py`

### Other components

- **User**
- **Log file**

## Connections

- User → Dashboard UI: uses (evidence: `README.MD`)
- Dashboard UI → File picker: opens (evidence: `log_dashboard.py`)
- File picker → Log file: selects (evidence: `log_dashboard.py`)
- Log parser → Log file: reads (evidence: `log_dashboard.py`)
- Log parser → In-memory logs: appends entries (evidence: `log_dashboard.py`)
- Dashboard UI → Log parser: loads and parses (evidence: `log_dashboard.py`)
- Dashboard UI → Filter and table: applies filter (evidence: `log_dashboard.py`)
- Filter and table → In-memory logs: reads (evidence: `log_dashboard.py`)
- Filter and table → KPI counters: updates counts (evidence: `log_dashboard.py`)
- Dashboard UI → Stack inspector: opens on double-click (evidence: `log_dashboard.py`)
- Stack inspector → In-memory logs: reads selected entry (evidence: `log_dashboard.py`)
