Some neat regex to parse certain messages from Kubernetes logs.
RBAC DENY Messages
Good to setup some log alerting on those messages to make sure the applications are not hammering the API servers with “bad” RBAC.
Match message (should be enough for matching):
Rewriting into a comma separated list + showing occurence counts: