Skip to content

Commit

Permalink
bump beats and logstas to v8.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 12, 2024
1 parent 27c6afd commit c6e037e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/scripts/filebeat-process-zeek-folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if mkdir $LOCKDIR; then
# get new logs ready for processing
cd "$ZEEK_LOGS_DIR"
find . -path ./processed -prune -o -path ./current -prune -o -path ./upload -prune -o -path ./extract_files -prune -o -path ./live -prune -o -type f -exec file --separator '|' --mime-type "{}" \; | grep -P "(application/gzip|application/x-gzip|application/x-7z-compressed|application/x-bzip2|application/x-cpio|application/x-lzip|application/x-lzma|application/x-rar-compressed|application/x-tar|application/x-xz|application/zip|application/x-ms-evtx|application/octet-stream)" | sort -V | \
xargs -n 1 -P $FILEBEAT_PREPARE_PROCESS_COUNT -I '{}' bash -c '
xargs -P $FILEBEAT_PREPARE_PROCESS_COUNT -I '{}' bash -c '
# separate filename and mime type
FILENAME="$( echo "{}" | awk -F"|" "{print \$1}" )"
Expand Down

0 comments on commit c6e037e

Please sign in to comment.