Forward only logs that has "WORD" in it

how can i only forward logs to loki that has “SOME WORD” in it?
i saw how to drop but i don’t know exactly what to drop and there is no negative regex in re2

thanks

Did you ever get an answer ?
I am seeing lots of unanswered questions in this community site.