Show Full Spark Query in Okera Audit Logs Helen Holzbaur September 08, 2021 22:34 Updated Follow Problem When running a query in Databricks, the full Spark query does not appear in the Okera audit logs. Answer There are two configuration parameters that are required. Server: audit_request_query Client: AUTO_POPULATE_REQUEST_NAME On the server side, set the audit_request_query parameter as part of the RS_ARGS definition. For example, RS_ARGS: ... current configs ... --audit_request_query=true On the client side, add the following to the environment variable section in the in Databricks client configuration: AUTO_POPULATE_REQUEST_NAME=true Related articles How can I use LDAP to authenticate with the Okera API in Python? Is Okera a database? pyOkera returns 0 rows How does ODAS work with Databricks Delta files? How to contact Okera Support? Comments 0 comments Please sign in to leave a comment.