How would you parse a massive log file using Bash to identify specific error patterns and trigger an alert?