Create Metadata connector log files
If you have an issue with a JDBC connection, for example while registering a data source via Edge, you can create the Metadata connector log files and then save and review them locally. If you create a support ticket, attach the reviewed Metadata connector log files to your ticket so Collibra Support can help you with your issue.
- K3S
- EKS
Prerequisites
- You have a global role that has the System administration global permission.
- You have a global role with the Manage connections and capabilities global permission, for example Edge integration engineer.
- You have created and installed an Edge site.
- You have created a JDBC connection and an Edge capability.
Steps
- Edit the Edge capability that contains the JDBC connection for which you want to create a log file.
- Click the name of the Edge capability to open it.
- Click Edit.
- In the General section, click the Log level drop-down menu.
- Select the log verbosity level.
Tip The level must be at least low.
- Click Save.
The fields become read-only.
- Click Run to rerun the Edge capability.
- Contact Collibra support to request the Edge job ID of the Edge capability.
- Run the following command:
./edge catalog-connector --jobid <Edge job ID> --dst <path to destination>The log file is created and stored in the predefined destination.Tip If the Edge command is not available, you will need to download the Edge tool.
Prerequisites
- You have a Linux host with kubectl access to your EKS installation.
- You have mc (minio client) installed in /usr/local/bin:
sudo curl -L "https://dl.min.io/client/mc/release/linux-amd64/mc" -o /usr/local/bin/mc
sudo chmod +x /usr/local/bin/mc
Steps
Execute the following commands:
kubectl -n collibra-edge port-forward service/minio 9000:9000 &
MC_ACCESSKEY="$(kubectl get secrets edge-minio -n collibra-edge -o jsonpath="{.data.accesskey}" | base64 --decode)"
MC_SECRETKEY="$(kubectl get secrets edge-minio -n collibra-edge -o jsonpath="{.data.secretkey}" | base64 --decode)"
export MC_HOST_edge="http://${MC_ACCESSKEY}:${MC_SECRETKEY}@localhost:9000"
mc cp --quiet --recursive edge/cdata/<jobId> <destination_directory>
pkill -f "port-forward"