cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Search for Databricks Jobs By Name

erickeniuk
New Contributor II

The Databricks CLI has the ability to list jobs by exact name using “Databricks jobs list —name my_job”. Is there a way to search for jobs using this same method, where I could put a partial name of a job and get all the jobs that match? Ex: “databricks jobs list —name ‘my_j%’” which would list “my_job” and “my_job2”.

2 REPLIES 2

daniel_sahal
Esteemed Contributor

@Eric Keniuk​ 

You can use a combination of databricks jobs list --all + GREP + for each.

The approach here is to list all available jobs, then filter them through GREP to get only ones that are matching the condition, then run databricks jobs list --name for every entry that was found and get the details of it.

Anonymous
Not applicable

Hi @Eric Keniuk​ 

Thank you for posting your question in our community! We are happy to assist you.

To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?

This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!