cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

UserAgentEntry added to JDBC URL but not visible in Audit logs

Databricks24
New Contributor

Hi,

As part of Databricks Best Practices, I have added 'UserAgentEntry' to JDBC URL that is being created when we are executing SQL statements through the JDBC driver.

Sample url - jdbc:databricks://<host>:443;httpPath=<httpPath>; AuthMech=3;UID=token;PWD=<token>;UserAgentEntry=<ApplicationName/Year>;

We have also enabled 'DatabricksSQL' category logs from the Diagnostic logging to check for the same. No User Agent value is being set.

Kindly help to resolve the issue.

Thanks

2 REPLIES 2

satishdatagaps
New Contributor II

Maybe you got a resolution by now, just adding it for others' reference. add UserAgent= not UserAgentEntry=

 jdbc:databricks://<host>:443;httpPath=<httpPath>; AuthMech=3;UID=token;PWD=<token>;UserAgent=<ApplicationName/Year>;

satishdatagaps
New Contributor II

Sorry, I was mistaken. please ignore the previous response. The correct one is

jdbc:databricks://<host>:443;httpPath=<httpPath>; AuthMech=3;UID=token;PWD=<token>;UserAgentEntry=<ApplicationName/Year>;

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group