mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
6 lines
183 B
Bash
6 lines
183 B
Bash
#!/bin/bash
|
|
|
|
# Gzip the eve logs
|
|
find /nsm/suricata/eve*.json -type f -printf '%T@\t%p\n' | sort -t $'\t' -g | head -n -1 | cut -d $'\t' -f 2 | xargs nice gzip
|
|
|
|
# TODO Add stats log |