I\'m trying to make a script that will live watch some logs. I have a log of requests with each request formatted something like this,
--- id=273482 Result=Error
Here is the fix
tail -f requestLog|awk 'BEGIN{RS="--*"}/Error/{split($1,a,"=");print a[2]}'