diff --git a/logparser/sshd.go b/logparser/sshd.go index 8d253c0..ac62677 100644 --- a/logparser/sshd.go +++ b/logparser/sshd.go @@ -332,22 +332,39 @@ func (s *SshdParser) Compile() error { + - + - - + + + + + + + + + +
@@ -448,6 +465,7 @@ func (s *SshdParser) Compile() error { YearList: years, MonthList: months, } + _ = os.Remove("statistics.html") f, err := os.OpenFile("statistics.html", os.O_RDWR|os.O_CREATE, 0666) defer f.Close() err = t.Execute(f, data)