Enabling or disabling Analytics
You can configure the watsonx Assistant to enable or disable Analytics by editing the Custom Resource or by applying the patch commands.
Note: You must use only Method 1 or Method 2 to enable or disable Analytics.
Method 1: By applying patch command
To disable Analytics, use the following patch
command:
oc patch wa wa --type=merge -p="{\"spec\":{\"features\":{\"analytics\":{\"enabled\":false}}}}"
Method 2: By editing Custom Resource
Analytics is enabled by default. To disable it, edit the watsonx Assistant Custom
Resource:
oc project ${PROJECT_CPD_INST_OPERANDS}
export INSTANCE=`oc get wa -n ${PROJECT_CPD_INST_OPERANDS} |grep -v NAME| awk '{print $1}'`
oc edit wa $INSTANCE
oc patch wa wa --type=merge -p="{\"spec\":{\"features\":{\"analytics\":{\"enabled\":false}}}}"
You can update the flag to true
or false
to either enable or
disable Analytics:
features:
analytics:
enabled: true
After 10 minutes, test out the chatbot in the UI to ensure that the new chat logs appear or do not appear in the Analytics section based on the flag value set for the feature.