OpenMetadata
Search…
Looker
This guide will help install Looker connector and run manually
Prerequisites
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
  1. 1.
    Python 3.7 or above

Install from PyPI

Install Using PyPI
1
pip install 'openmetadata-ingestion[looker]'
Copied!

Run Manually

1
metadata ingest -c ./examples/workflows/looker.json
Copied!

Configuration

looker.json
1
{
2
"source": {
3
"type": "looker",
4
"config": {
5
"username": "Looker Client ID",
6
"password": "Looker Client Secret",
7
"url": "http://localhost",
8
"service_name": "looker",
9
"service_type": "Looker"
10
}
11
}
12
...
Copied!
  1. 1.
    username - pass the Looker Client ID.
  2. 2.
    password - the password for the Looker Client Secret.
  3. 3.
    url - looker connector url
  4. 4.
    service_name - Service Name for this Looker cluster. If you added the Looker cluster through OpenMetadata UI, make sure the service name matches the same.
  5. 5.
    filter_pattern - It contains includes, excludes options to choose which pattern of datasets you want to ingest into OpenMetadata.

Publish to OpenMetadata

Below is the configuration to publish Looker data into the OpenMetadata service.
Add metadata-rest sink along with metadata-server config
looker.json
1
{
2
"source": {
3
"type": "looker",
4
"config": {
5
"username": "Looker Client ID",
6
"password": "Looker Client Secret",
7
"url": "http://localhost",
8
"service_name": "looker",
9
"service_type": "Looker"
10
}
11
},
12
"sink": {
13
"type": "metadata-rest",
14
"config": {}
15
},
16
"metadata_server": {
17
"type": "metadata-server",
18
"config": {
19
"api_endpoint": "http://localhost:8585/api",
20
"auth_provider_type": "no-auth"
21
}
22
}
23
}
Copied!
Last modified 22h ago