mirror of
https://github.com/SubleXBle/Fail2Ban-Report.git
synced 2026-01-30 05:18:25 -06:00
Update fail2ban_log2json.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
LOGFILE="/var/log/fail2ban.log"
|
||||
OUTPUT_JSON_DIR="/var/www/html/Fail2Ban-Report/archive"
|
||||
OUTPUT_JSON_DIR="/var/www/html/Fail2Ban-Report/archive/<SERVERNAME>/fail2ban"
|
||||
|
||||
TODAY=$(date +"%Y-%m-%d")
|
||||
OUTPUT_JSON_FILE="$OUTPUT_JSON_DIR/fail2ban-events-$(date +"%Y%m%d").json"
|
||||
|
||||
Reference in New Issue
Block a user