Wednesday, 15 June 2022

Apache Atlas: Advanced search

In this post, I am going to explain how to use advanced search functionality in Atlas UI.

 

Login to Atlas UI, you will be landed to Basic Search by default.

 


 

Move the slider from Basic to Advanced to go to Advanced search page.

 


As you see the advanced search page, it has a drop down to select the type and a text box to write the actual query to be applied on selected type.

 

For example, let me select type as DataSet and click on Search button.


 

Let me get the entities where the name contain the string global, to do this enter below text in ‘Search By Query’ text box and click on Search button.

 

where name like "*global*"

 

Above query get me below results.

 


 

Search on relationships

You can even search on relationships. For example, when you see the file (see below image), it has two relationships inputToProcesses and outputFromProcesses.



Let me query inputToProcesses contain the string Canada in it by applying below search query.

 

where inputToProcesses.name like "*canada*"

 


Search on classification

‘is’ or ‘isa’ can be used to search on classification.

 

Syntax1

is classification_name
isa classification_name

Syntax 2

{type_name} is sensitive

Example

is sensitive : Get all the entities with classification ‘sensitive’.

DataSet is sensitive: you can even pass the type in search query. It will return all the entities which are classified as sensitive.


 

Propagated classification entities also come as part of search results

 

Select specific properties

Example

DataSet is sensitive select name, owner

 


Above example select name and owner properties on all the DataSet instances whose classification is set to sensitive.

 

 



Previous                                                    Next                                                    Home

No comments:

Post a Comment