added README.md, example config files, binaries, updated CHANGELOG.md

This commit is contained in:
itwrx
2024-12-07 11:49:03 -06:00
parent e79c37d169
commit a87b907139
7 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
[server]
hostname = "email.mydomain.org"
starttls-port = 587
sender-address = "maileraddress@mydomain.org"
sender-password = "supersecretpassword"

View File

@@ -0,0 +1,6 @@
#! /bin/sh
#the name of your compiled goaccess_reporter binary.
goaccess_reporter_0.1.0_alpine
exit

View File

@@ -0,0 +1,26 @@
#name of the site. can company name, domain, whatever makes the most sense.
[site1]
#webserver log location.
log-file = "/var/www/www-logs/site1-access.log"
#where to save the report and how to name it.
output = "/home/myuser/.goaccess_reporter/site1-report.html"
#append date to report name. This prevents overwriting existing reports. IDK if i even tested with "append-date = false".
append-date = true
#delete saved report.html after tarballing and emailing it.
delete-after = true
#array/seq of email addresses to send the report to.
email-addresses = ["jack@site1.org", "jill@site1.org"]
[site2]
log-file = "/var/www/www-logs/site2-access.log"
output = "/home/myuser/.goaccess_reporter/site2.html"
append-date = true
delete-after = false
email-addresses = ["john@site2.com", "jane@site2.com"]
[site3]
log-file = "/var/www/www-logs/site3-access.log"
output = "/home/myuser/.goaccess_reporter/site3-report.html"
append-date = true
delete-after = true
email-addresses = ["admin@site3.org"]