Global architecture¶
Logarys uses a message-driven architecture to separate ingestion, persistence, querying, and administration.
Schema¶
Global flow¶
- Log sources send events to the Ingestor.
- The Ingestor validates, enriches, and normalizes the payload.
- Normalized events are published to NATS JetStream.
- The Storage Manager consumes messages from the broker.
- The Storage Manager writes logs to MongoDB.
- Users access the UI.
- The UI calls the Console Manager to manage users, pipelines, configuration, and log queries.
- The Console Manager reads and writes metadata and log data from MongoDB.
Main data paths¶
Source → Ingestor → NATS JetStream → Storage Manager → MongoDB
User → UI → Console Manager → MongoDB
Admin → UI → Console Manager → MongoDB
Why this architecture?¶
- Ingestion is decoupled from storage latency.
- MongoDB supports flexible log schemas.
- Services can be scaled independently.
- The public Logarys application stack stays simple: UI, Console Manager, Ingestor, and Storage Manager.
- Each container has a clear operational role.