Creating Compressed Archives

Files can be uploaded independently or within a supported archive/compressed archive file.

Creating a Compressed Archive

Compressed archive files are a great way to ingest multiple files into a single Project.

Compressed archive files may contain either a collection of bro/zeek files, a collection of network collection files, or a collection of all supported file types (including archives of archives). The information below will help you create a compressed archive file on the desired operating system.

Unsupported files existing within a compressed archive will be ignored.

Linux

Follow the steps below to create the desired compressed archive:

  1. Open a terminal window
  2. Navigate to the directory containing your files
  3. Create the desired compressed archive
// .bz2
tar -czjSf compressed-file.tar.bz2 *.pcapng

// .tar.gz
tar -czvf compressed-file.tar.gz *.pcapng

// .tar
tar -cvSf compressed-file.tar *.pcapng

// .xz
tar -cvJf compressed-file.tar.xz *.pcapng

// .zip
zip -r compressed-file.zip *.pcapng

Windows Zip

Windows supports .zip files out of the box. Follow the steps below to create a compressed archive. zip file on Windows:

  1. Select the files you'd like to archive
  2. Right-click on one of the selected files within the Explorer window
  3. Select Compress to ZIP file
  4. Right-click on the resulting .zip file and rename it if desired

Windows 7-zip

7-zip is a file archiver with a high compression ratio and is available on Windows and it supports multiple formats (7z, bzip2, gzip, tar, wim, xz, zip): https://www.7-zip.org/

  1. Open an Explorer window
  2. Navigate to the directory containing your files
  3. Select the files you'd like to archive
  4. Right-click on one of the selected files within the Explorer window
  5. Select 7-zip > Add to archive...
    NOTE: on Windows 11, you may have to select the Show more options value to see the 7-zip option
  6. Enter a name for your Archive
  7. From the Archive format dropdown, select tar
tar archive format

tar archive format

  1. Select the OK button
  2. If you'd like to compress the file further, right-click on the .tar file you just created and create a new 7-zip archive by following the steps above
  3. This time, from the Archive format dropdown, select gzip
Step 10: Select gzip archive format

gzip archive format

  1. Select the OK button