Best Approach to Query All AC Tool Failures in AEM Logs #797
wenwang111
started this conversation in
General
Replies: 1 comment 1 reply
-
The log is maintained in a dedicated section in the repo and exposed via https://github.com/Netcentric/accesscontroltool/blob/develop/docs/ApplyConfig.md#touch-ui. You find it in the repo below |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m looking for a simple and reliable query to extract all AC Tool failures from AEM logs. I’ve identified some common error patterns, such as:
However, I want to ensure that my approach captures all potential AC Tool failures without missing anything. For example, in the screenshot I provided, there is a message saying "Success: false". Unfortunately it is not captured in the error log.
Could you provide best practices or a recommended query to effectively extract these failures from AEM Cloud logs?
Example would be:
So far this is what I have for the query to capture all AC tool failures
laAEMCloudErrorLogsCL
| where _startTime >= ago(10h)
| where RawData contains "biz.netcentric.cq.tools.actool.authorizableinstaller.AuthorizableCreatorException"
or RawData contains "Failed to create authorizable"
or RawData contains "Could not create user"
or RawData contains "Could not create group"
or RawData contains "ACL creation failed"
or RawData contains "Access control sync failed"
or RawData contains "Failed to set permissions for user"
or RawData contains "Insufficient permissions to modify ACLs"
or RawData contains "Error synchronizing groups"
or RawData contains "Invalid configuration detected"
or RawData contains "AC Tool configuration error"
or RawData contains "Missing required parameters in AC Tool"
or RawData contains "Could not process yaml files"
or RawData contains "javax.jcr.nodetype.ConstraintViolationException"
or RawData contains "org.apache.jackrabbit.oak.spi.state.ReadyOnlyBuilderException"
| project Environment, ProgramName, Role, RawData, ext_ingest_time
How do I know whether the below error messages can capture it all? What if there are new error messages related AC tool failures, then i would need to update the query again. Is there a simple way to flag the message so I know the error is from ac tool?
Beta Was this translation helpful? Give feedback.
All reactions