feat: fix db and recode judge

This commit is contained in:
d3m0k1d
2026-01-13 21:03:10 +03:00
parent b2d03a4008
commit f0180b4bbe
5 changed files with 57 additions and 43 deletions

View File

@@ -35,11 +35,12 @@ func (p *NginxParser) Parse(eventCh <-chan Event, resultCh chan<- *storage.LogEn
method := matches[3]
resultCh <- &storage.LogEntry{
Service: "nginx",
IP: matches[1],
Path: &path,
Status: &status,
Method: &method,
Service: "nginx",
IP: matches[1],
Path: path,
Status: status,
Method: method,
IsViewed: false,
}
}
}()