Update fail2ban_log2json.sh

This commit is contained in:
SubleXBle
2025-08-25 15:05:10 +02:00
committed by GitHub
parent a4804f04e4
commit 75a47ecee1

View File

@@ -7,7 +7,7 @@ mkdir -p "$OUTPUT_JSON_DIR"
echo "[" > "$OUTPUT_JSON_FILE"
# Grep alle relevanten Events
# Grep all relevant Events
grep -E "(Ban|Unban)" "$LOGFILE" | awk -v today="$TODAY" '
{
timestamp = $1 " " $2;