Accessing your log data
Access your log data to troubleshoot issues.
About this task
Watson Assistant Solutions uses IBM Cloud Logging to log data. To learn about IBM Cloud Logging, see the IBM Cloud Logging documentation. You can access your log data from the Watson Assistant Solutions console or directly from IBM Cloud.
Kibana, an open source analytics and visualization tool, is used to present log data. To learn more about Kibana, see the Kibana 5.1 Getting Started documentation.
Before you begin
Locate the GUID of your IBM Cloud Foundry space. The Watson Assistant Solutions service uses the GUID to save your log data to your space. Complete these steps:
- If you do not have an IBMid, create one. For instructions, see Create a free account on IBM Cloud.
- Install the IBM Cloud Log Analysis cli plugin. Enter:
bx plugin install logging-cli -r Bluemix
- Log in to your region of IBM Cloud. For example, enter:
and follow the onscreen prompts. Note: The --sso flag is for IBM internal use only.bx login -a https://api.ng.bluemix.net --sso
- Set the target org and space of your application and services. Enter:
bx target -o paste-your-org-name-here -s paste-your-space-name-here
- Find your GUID. Enter:
bx cf space paste-your-space-name-here --guid
- Copy your GUID to your clipboard.
Procedure
To access your logs, complete these steps:
- Log in to the console. For instructions, see Accessing your tenant.
- Click the Logs tab.
- If you are accessing logs for the first time, enter your GUID, click Connect, and close the dialog.
- Click the Logs tab on the console to open the Kibana log tool with your log data. To see logs that are associated with Watson Assistant Solutions, enter the search string
type:watsonassistant
. To filter the log data to show only your tenant, enter your tenant ID and tenant name.
Alternatively, open the log files from IBM Cloud Logging .