@@ -301,6 +301,11 @@ func nginxLogCapture(logfile, format string) {
continue
}
+ host := config.HostName
+ if host == "" {
+ host = "[not available]"
+ }
+
request := data.Request{
IpSrc: remote,
Origin: remote,