[TNM] regex to exclude users

Jaime Casanova jaime at 2ndquadrant.com
Tue Oct 30 19:28:28 UTC 2012


Hi,

I'm trying to find the appropiate regex to EXCLUDE all lines that
doesn't have user1 or user2 connected to db1 in a csvlog file

The problem is that i use:
"""
INCLUDE: ERROR:
INCLUDE: FATAL:
INCLUDE: PANIC:
"""

and then added

EXCLUDE: ^(?!.*user1).*$

but then i can't use another one as that for user2

any ideas?

-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566         Cell: +593 987171157


More information about the TNM mailing list