Hi,
I'm looking for exclude user actions from logs to exclude all login/logout for specifics users.
So, regex is made for that : Log | RouterOS Manual
But i don't understand if my regex is wrong OR the escaped char like shown in cli bellow:
Regex is (tested on regex101) :
^(?!.*(prometheus|admmikrotik)).*$
CLI is :
/system logging
add action=logaccount regex="^(\?!.*(prometheus|admmikrotik)).*\$" topics=account
add action=syslogaccount regex="^(\?!.*(prometheus|admmikrotik)).*\$" topics=account
Who has already exclude pattern instead of including it from logging rules ?