I have configured the slowlog to log out the queries and that is working. However, it is logging the queries exactly as they are sent to elastic, not the query that is produced by shield based on the user's roles.
Is there a way to get the query AFTER shield has added the role information?