With this for example:
$ awk '$2=="error"' file
03:05:18 error blablablablabla2
Why is this working? Because when the condition is true, awk
automatically performs its default behaviour: {print $0}
. So there is no need to explicitly write it.