# munazajamil/elk-security-monitoring-lab- architecture

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

- Interactive diagram: https://gitdiagram.com/munazajamil/elk-security-monitoring-lab-
- Repository: https://github.com/munazajamil/elk-security-monitoring-lab-

## Overview

This repository documents a local ELK security-monitoring lab, rather than implementing an application runtime. The principal workflow is to deploy Elasticsearch and Kibana, enroll an Elastic Agent through Fleet, collect Linux logs and metrics for Kibana, and separately produce Windows Sysmon events and YARA detections. The README also describes Windows Defender integration, but does not specify its data path. No source excerpts were provided, so relationships below rely only on the README; YARA ingestion into Elasticsearch is explicitly a future improvement.

Main entry points: [`README.md`](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md) (Windows host), [`docker-compose.yml`](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/docker-compose.yml) (ELK deployment), [`yara-custom-rules`](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/yara-custom-rules) (YARA rules and scans)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_deployment["ELK Deployment"]
  node_compose["ELK deployment<br/>[docker-compose.yml]"]
  node_docker["Docker Desktop"]
  node_es[("Elasticsearch")]
  node_kibana["Kibana"]
end

subgraph group_fleet["Fleet Collection"]
  node_fleetserver["Fleet Server<br/>[README.md]"]
  node_agent["Linux Elastic Agent<br/>[README.md]"]
  node_linuxlogs["Linux logs and metrics<br/>[README.md]"]
end

subgraph group_endpoints["Endpoint Telemetry"]
  node_winhost["Windows host<br/>[README.md]"]
  node_defender["Windows Defender<br/>[README.md]"]
  node_sysmon["Sysmon events<br/>[README.md]"]
end

subgraph group_analysis["Security Analysis"]
  node_yara["YARA rules and scans"]
  node_yaralog["YARA detections<br/>[README.md]"]
end

node_operator(("Lab operator"))

node_operator -->|"runs"| node_compose
node_compose -->|"deploys on"| node_docker
node_docker -->|"hosts"| node_es
node_docker -->|"hosts"| node_kibana
node_operator -->|"configures"| node_fleetserver
node_agent -->|"enrolls with"| node_fleetserver
node_agent -->|"collects"| node_linuxlogs
node_linuxlogs -->|"indexes as"| node_es
node_kibana -->|"visualizes events from"| node_es
node_winhost -->|"integrates"| node_defender
node_winhost -->|"records"| node_sysmon
node_winhost -->|"runs scans with"| node_yara
node_yara -->|"logs detections to"| node_yaralog

click node_compose "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/docker-compose.yml"
click node_fleetserver "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_agent "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_linuxlogs "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_winhost "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_defender "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_sysmon "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"
click node_yara "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/yara-custom-rules"
click node_yaralog "https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md"

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_compose,node_docker,node_es,node_kibana toneBlue
class node_fleetserver,node_agent,node_linuxlogs toneAmber
class node_winhost,node_defender,node_sysmon toneMint
class node_yara,node_yaralog toneRose
class node_operator toneIndigo
```

## Components

### ELK Deployment

- [ELK deployment](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/docker-compose.yml): `docker-compose.yml`
- **Docker Desktop**
- **Elasticsearch**
- **Kibana**

### Fleet Collection

- [Fleet Server](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`
- [Linux Elastic Agent](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`
- [Linux logs and metrics](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`

### Endpoint Telemetry

- [Windows host](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`
- [Windows Defender](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`
- [Sysmon events](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`

### Security Analysis

- [YARA rules and scans](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/yara-custom-rules): `yara-custom-rules`
- [YARA detections](https://github.com/munazajamil/elk-security-monitoring-lab-/blob/main/README.md): `README.md`

### Other components

- **Lab operator**

## Connections

- Lab operator → ELK deployment: runs (evidence: `README.md`)
- ELK deployment → Docker Desktop: deploys on (evidence: `README.md`)
- Docker Desktop → Elasticsearch: hosts (evidence: `README.md`)
- Docker Desktop → Kibana: hosts (evidence: `README.md`)
- Lab operator → Fleet Server: configures (evidence: `README.md`)
- Linux Elastic Agent → Fleet Server: enrolls with (evidence: `README.md`)
- Linux Elastic Agent → Linux logs and metrics: collects (evidence: `README.md`)
- Linux logs and metrics → Elasticsearch: indexes as (evidence: `README.md`)
- Kibana → Elasticsearch: visualizes events from (evidence: `README.md`)
- Windows host → Windows Defender: integrates (evidence: `README.md`)
- Windows host → Sysmon events: records (evidence: `README.md`)
- Windows host → YARA rules and scans: runs scans with (evidence: `README.md`)
- YARA rules and scans → YARA detections: logs detections to (evidence: `README.md`)
