Hello,
I need a little assistance with a regex pattern search. I would like to match a login syslog messages for all users except 1. The 1 user is an automated account for system monitoring. I've been reading a number of forums and trying different regex combinations but I'm running out of ideas.
event syslog pattern “%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success \[user: (?!butnotthisuser).*”
The applet isn't showing any matches from;
show event manager history events
It works if i shorten the search to;
event syslog pattern “%SEC_LOGIN-5-LOGIN_SUCCESS: Login Success.*"
but it generates too many alerts.
What am I missing?