diff --git a/logparser/sshd.go b/logparser/sshd.go index 04bd9b9..13deb29 100644 --- a/logparser/sshd.go +++ b/logparser/sshd.go @@ -535,7 +535,7 @@ func plotStats(s *SshdParser, v string) error { return err } bc.LineStyle.Width = vg.Length(0) - bc.Color = plotutil.Color(0) + bc.Color = plotutil.Color(2) p.Add(bc) p.NominalY(keys...) diff --git a/logparser/sshd/statistics.gohtml b/logparser/sshd/statistics.gohtml index 53bc1de..47cfb3c 100644 --- a/logparser/sshd/statistics.gohtml +++ b/logparser/sshd/statistics.gohtml @@ -21,18 +21,28 @@ @@ -47,64 +57,53 @@ {{ define "dailytpl"}} - - + - - - - - + + {{end}} {{ define "yearlytpl"}} - - - - - - - + + + + {{end}} {{ define "monthlytpl"}} - - + {{range $key, $val := .MonthList}} + {{range $month := index $val}} + {{end}} - - - - - - - - - + {{end}} + + + + + {{end}} '' \ No newline at end of file