Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
556d5ee767 | ||
|
|
eb51eb15b4 | ||
|
|
459d5cb79b | ||
|
|
b3b7041ee9 |
No files matched your search
@@ -10,6 +10,24 @@ devices ──514 udp/tcp──▶ logstream (Go) ──HTTP batches──▶ Vi
|
|||||||
└──── API / UI ◀─────────┘
|
└──── API / UI ◀─────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Architecture
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **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.
|
||||||
|
- **Live view**: `sink()` also publishes each message to the `Hub`, which streams it to the
|
||||||
|
browsers over SSE.
|
||||||
|
- **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
|
||||||
|
themselves in the `vlogs-data` volume.
|
||||||
|
|
||||||
|
The editable source of the diagram is
|
||||||
|
[`docs/architecture.excalidraw`](docs/architecture.excalidraw)
|
||||||
|
(open it on [excalidraw.com](https://excalidraw.com)).
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
Binary file not shown.
|
After Width: | Height: | Size: 884 KiB |
Reference in new issue
Block a user