Author SHA1 Message Date
cedric 392fc645ce wip schema: arrows between containers 2026-10-02 09:17:30 +02:00
cedric 81806a6991 wip schema: straight polyline arrows 2026-10-02 09:16:59 +02:00
cedric 6abf1f47fd wip schema source 2026-10-02 09:16:02 +02:00
5 changed files with 3490 additions and 3745 deletions

No files matched your search

+2 -4
View File
@@ -12,20 +12,18 @@ devices ──514 udp/tcp──▶ logstream (Go) ──HTTP batches──▶ Vi
## Architecture ## Architecture
![Schéma logique de Logstream](docs/architecture.png) ![Schéma logique de Logstream](docs/logstream-schema-logique.png)
- **Ingestion**: syslog (UDP/TCP) and Docker container logs both go through `sink()` (reverse DNS - **Ingestion**: syslog (UDP/TCP) and Docker container logs both go through `sink()` (reverse DNS
on IP hosts), then the `Store` queue, which sends them in batches to VictoriaLogs. on IP hosts), then the `Store` queue, which sends them in batches to VictoriaLogs.
- **Live view**: `sink()` also publishes each message to the `Hub`, which streams it to the - **Live view**: `sink()` also publishes each message to the `Hub`, which streams it to the
browsers over SSE. browsers over SSE.
- **Search**: the HTTP API turns the UI filters into LogsQL queries sent to VictoriaLogs. - **Search**: the HTTP API turns the UI filters into LogsQL queries sent to VictoriaLogs.
- **Timeline**: `/api/histogram` (`histogram.go`) counts the logs per interval and severity,
aligned on the local time; the zoom bounds (`from`/`to`) also apply to the list and the export.
- **State**: tags and source settings live in `/data` (`logstream-data` volume); the logs - **State**: tags and source settings live in `/data` (`logstream-data` volume); the logs
themselves in the `vlogs-data` volume. themselves in the `vlogs-data` volume.
The editable source of the diagram is The editable source of the diagram is
[`docs/architecture.excalidraw`](docs/architecture.excalidraw) [`docs/logstream-schema-logique.excalidraw`](docs/logstream-schema-logique.excalidraw)
(open it on [excalidraw.com](https://excalidraw.com)). (open it on [excalidraw.com](https://excalidraw.com)).
## Getting started ## Getting started
File diff suppressed because it is too large. Load diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 KiB

File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 597 KiB