AWK Field Separator Deep Dive: Extracting Data from Pipe-Delimited Logs
When your logs use pipe characters as delimiters, the default whitespace-based field splitting in AWK won't work as expected. You need to explicitly tell AWK what separates your fields using the -F flag.