Skip to content

Docker Demo

The Docker Compose setup runs five containers:

  • redpanda - Kafka-compatible streaming platform
  • console - Redpanda Web UI for viewing topics and messages
  • producer - Python script generating mock security events
  • inobi - Detection engine processing events and generating alerts
  • prometheus - Metrics collection and monitoring

Data Flow

                                      console
                                    ↗         ↖
producer → redpanda:security-events → inobi → redpanda:security-alerts
                                         ↓
                                     prometheus

Prerequisites

  • Docker

Run the Demo

Clone the repository and start the environment:

git clone https://github.com/3vsms/inobi
cd inobi/demo
docker compose up

Event Generation

The producer will start generating events to the security-events topic.

Every 15 to 30 seconds, the producer emits events that match the example detection rules.

Redpanda Console

Redpanda Console instance: http://localhost:8080

Monitor Metrics

Prometheus instance: http://localhost:9090

Example queries:

# Events processed per minute
rate(inobi_events_processed_total[1m])*60

# Alerts generated per minute
rate(inobi_alerts_generated_total[1m])*60

# Memory allocations
go_memstats_alloc_bytes