Skip to main content

Command Palette

Search for a command to run...

Search All Databricks' Workspace Notebooks

Published
1 min read

As we accumulate library of sample and reference code through various Databricks notebooks finding the code is not easy.

The Purpose behind this notebook is to find the code/text in the Databricks' workspace easier and navigate to it.

You can download either the .DBC or the entire repo at this location on GitHub:

GitHub - Search Databricks Notebooks within a Workspace

Steps to Search in Databricks' Workspace

Import Notebook into Databricks

Download DB-WS-Notebooks-Search

Reference How to import a Databricks notebook

Run Search Notebook

Required Parameters

Instance Name

  • No trailing forward-slash
  • Example: image.png

Bearer Token

image.png

Search Term

  • This is the string you're searching for throughout the workspace's notebooks

Code Structure

Access the GitHub Repo

code-struct.jpg

The "Search-Notebook" module is the one to use search all other notebooks within the workspace.