cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Agent Verfication

Jeyapaul
New Contributor II

Hello Folks, 

We are recently working on Databricks integration in to our products and one of the Best practices suggested is to send user-agent information for any REST API or JDBC connect we make from the product to Databricks. We have made all the necessary changes to support this requirement. 
We want to verify this for all the connects that is made to Databricks. 

Can anyone please point me in the direction of where can I find the user agents information in Databricks UI? 
Thanks

3 REPLIES 3

Kaniz_Fatma
Community Manager
Community Manager

Hi @Jeyapaul, Certainly! To find user agent information in Databricks, follow these steps:

 

  1. Log in to your Databricks account as either an account admin or a workspace admin.
  2. In the sidebar, click on User management.
  3. On the Users tab, you can add users to your account using the account console. Simply enter the user’s name and email address, and click Add user.
  4. To assign account admin roles to a user, find and click the username, then turn on Account admin or Marketplace admin in the Roles tab.
  5. If you want to add users to a specific workspace, ensure that the workspace is enabled for identity federation. Workspace admins can also assign users to workspaces using the workspace admin settings page.

Remember that identity federation is enabled by default for new workspaces created after November 8,.... If you need to sync users from your identity provider (IdP) to your Databricks account, you can use ....

Additionally, if you’re looking for your workspace ID, you can retrieve it from within a notebook by

 running the following command in a Python or Scala cell: spark.conf.get("spark.databricks.clusterUs....

 

Happy integrating, and may your REST APIs and JDBC connections be as smooth as a well-optimized query! 🚀

bdraitcak
New Contributor II

Hey @Jeyapaul  I am currently running into the same issue of trying to verify user agents information.

Did you figure out anywhere in Databricks UI that display this information yet?

Bharathii
New Contributor II

Hi @bdraitcak , 

Here are the steps to be followed to get the logs: 

  1. Log in to your Azure portal.
  2. Go to / Search for "Log analytics workspace."
  3. Create a new Log Analytics workspace by specifying your Resource group and Instance details. [subscription + resource group; Instance details - Name, region]
  4. Now Go to your Azure Databricks Service, Search for "Diagnostic settings" under Monitoring.
  5. Click on, Add diagnostic setting.
  6. Give a name and enable the required logs checkbox [Required: Databricks Accounts] and choose the created log analytics workspace in the drop-down (Step 3). Save it.
  7. Now go to your Log analytics workspace (Step 3), select "Logs", Select "Schema and Filter".
  8. Select "Log Management". You will see all the logs checkboxes you enabled at the time of "Add diagnostic settings". Now double click on the "DatabricksAccounts"
  9. And click on "Run" on the query tab.
  10. You will be able to see the logs on the result section below.
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!