From a4d5f5825647b785d2f29ec78607ffdaab580dc1 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 18 Feb 2021 10:33:47 -0500 Subject: [PATCH] fix surilogcompress --- salt/suricata/cron/surilogcompress | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/suricata/cron/surilogcompress b/salt/suricata/cron/surilogcompress index b77c4d635..4fe43bbee 100644 --- a/salt/suricata/cron/surilogcompress +++ b/salt/suricata/cron/surilogcompress @@ -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 \ No newline at end of file