Find all files with the extension .log or .zip in the root directory and compress them into a file called random.tar.gz.
find / -type f \( -name "*.log" -o -name "*.zip" \) | xargs tar cvzf random.tar.gz