queue grep
tail -f file | grep --line-buffered my_pattern
Confused Caracal
tail -f file | grep --line-buffered my_pattern