diff options
Diffstat (limited to 'roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2')
| -rw-r--r-- | roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 index d28efd9..eebf1e7 100644 --- a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 +++ b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 @@ -8,7 +8,7 @@ if [ ! -f "$FILE" ]; then fi echo "Sending email" -cat "$FILE" | mail -s "pylogsentinel alert batch" root +cat "$FILE" | head -n 5000 | mail -s "pylogsentinel alert batch" root echo "Removing batch file" rm "$FILE" |
