Thanks
@Garin Walsh, I tested with this RE /^((?!tcp4\s+0\s+0\s+10\.29\.10\.68\.[0-9]+\s+172\.122\.138\.55\.6503\s+ESTABLISHED).)*$/ but the alarm is generated.
I need is that when the line (tcp4 0 0 10.29.10.68.32799 172.122.138.55.6503 ESTABLISHED) does not appear in the logs it generates the alert, because when it does not appear it is indicative that the connection is not established.
The normal thing is that logmon looks for a pattern that indicates a failure, in this case it is the opposite ...