IBM Support

How to obtain the logs for test connection error in data source

How To


Summary

If any connection error appears while the data source connection is tested, logs for this error can be obtained by using the console in Watson Studio Local 1.2.x.

Steps

If any connection error appears while testing the connection in data source menu (Data Sources > Data source name > Test connection), it can be obtained by using the console in Watson Studio Local 1.2.x. Sample error is given in the following image:
  • SQL Server "connection timed out" error:
SQL Server connectivity error.
Data source connectivity-related logs are stored in filemgmt pods. In order to obtain them, follow the next steps:
kubectl get po -n dsx | grep filemgmt
kubectl logs <filemgmt_pod_name> -n dsx | grep "Connection timed out"
Or with single command:
kubectl logs $(kubectl get po -n dsx | grep filemgmt | head -n2 | tail -n1 | awk '{print $1}') -n dsx | grep "Connection timed out"
Here the "Connection timed out" can be replaced by any word in the error.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHGWL","label":"IBM Watson Studio Local"},"ARM Category":[{"code":"a8m0z000000bmPIAAY","label":"Modeling->Datasource - Local"}],"ARM Case Number":"TS006837397","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.2.0"}]

Document Information

Modified date:
05 October 2021

UID

ibm16495871