netbis: NPM 6대 Vector→zlambda→VL 로그 수집 파이프라인 구축

This commit is contained in:
heimdall
2026-04-23 15:23:37 +09:00
parent bf33c043f9
commit 461ee81839
3 changed files with 195 additions and 0 deletions

View File

@@ -69,6 +69,18 @@ sandbox-tokyo APISIX http-logger
| SQLite | `/var/lib/log-collector/requests.db` |
| 기능 | APISIX 로그 수신 → SQLite 저장 → CrowdSec 포워딩, 타임스탬프 밀리초 보정 |
### Netbis NPM → zlambda → VictoriaLogs (6대 오리진, 2026-04-23)
```
NPM-1..6 (Linode Tokyo public) Vector 0.55 file→http
→ zlambda(Tailscale+public) Vector-relay 0.45 http_server→elasticsearch
→ vl.inouter.com (index `npm-netbis`)
```
Netbis 오리진(NPM) nginx access/error 로그 수집. VL 은 LAN-only(192.168.9.53) 이므로 public NPM이 도달할 수 없어 zlambda 를 HTTP 중계로 투입. 상세: [[../../services/netbis#로그-수집-vector-→-zlambda-→-victorialogs|netbis]], [[../../history/2026-04-23-netbis-npm-vl-collection|history]]
CrowdSec acquisition 쪽 추후 연동 가능 — VL LogsQL `service:npm log_type:access``victorialogs` acquisition 추가하면 APISIX 파이프라인과 동일하게 처리 가능.
### SafeLine → CrowdSec (실시간, PG LISTEN/NOTIFY)
```