Cacti/plugin_syslog

For Regex Message Processing Rules test the regex at save time and inform user if it's syntactically correct

Closed this issue · 1 comments

Describe the enhancement

Right now, the validity of the Regex rules in the Syslog Alert and Report forms, you have to wait till the Alert or Report is run to validate that it is correct.

Instead, at save time, test the Regex Rule and provide an informative error message if it's syntax is not correct.

Reference to using broader set of REGEX rules in MariaDB.

https://jira.mariadb.org/browse/MDEV-18523?jql=text%20~%20%22regexp%22