mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-10 08:15:32 +02:00
fix surilogcompress
This commit is contained in:
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
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
|
||||
Reference in new issue
Block a user