unable to create new alert rule in under synthetics and uptime showing following error.
"security_exception Caused by: illegal_argument_exception: expected ')' at position 24 Root causes: security_exception: The set of patterns [/~((([.]|ilm-history-).*)/] is invalid, caused by: "expected ')' at position 24""
this error is showing even without any action to perform for the alert rule