Updating the processing configuration
You can update the default configuration and, if necessary, restore it, declare a new
monitoring source, and enable Kafka egress.
About this task
The processing configuration outlines the methodology for event processing, structured
as a collection of files. The main configuration file is processing-conf.json.
The specification for the processing configuration describes the configurable elements within this
file. Additionally, this configuration may reference other files. Below is a list detailing the
default files comprising the default processing configuration.
- processing-conf.json - The main configuration
- transformation.jslt - Defines the transformation of raw events into time series.
- opensearch-mapping.json - Defines the OpenSearch mapping that is applied to the default index.
- ibm-bai-odm.jslt - The library of functions to transform Operational Decision Manager events.
- transformation-data.jslt - Not used by the default configuration. This file is an example of transformation that retains only input and output business data
For Operational Decision Manager applications, you have
the following additional files:
- ibm-bai-odm.jslt - The library of functions to transform Operational Decision Manager events.
- transformation-data.jslt - Not used by the default configuration. This file is an example of transformation that retains only input and output business data
You can export and import the processing configuration to promote changes across environments by using the management service command-line interface (CLI). For instructions about this CLI, see Installing and using the management CLI.
Customizing the processing configuration involves the following steps.- Updating the default configuration
- Declaring a new OpenSearch monitoring source
- Enabling Kafka egress
- Restoring the default configuration
Tip: It is a good practice to test and validate your customization on a
non-production environment.
For your Kubernetes deployment of IBM Business Automation Insights to enable creation dashboards for events
from custom sources in Business Performance Center, you must
configure the monitoring_sources subsection of the custom resource YAML
file.
Updating the default configuration
Before you begin
Procedure
Declaring a new OpenSearch monitoring source
About this task
Example
For Operational Decision Manager:
- monitoringSourceType: 'Decision (ODM) Loan Validation'
opensearchIndex: icp4ba-bai-odm-loanvalidation-ibm-bai
monitoringSourceFields:
- field: rulesetPathFor Decision Intelligence:
- monitoringSourceType: 'Decision (DICMS) Loan Validation'
opensearchIndex: icp4ba-bai-ads-loanvalidation-ibm-bai
monitoringSourceFields:
- field: decision.serviceId
- field: decision.serviceVersionEnabling Kafka egress
About this task
Procedure
- To enable Kafka egress, follow the procedure to update the processing-conf.json processing configuration file.
- Set the value of the Kafka egress enabled property to true.
Restoring the default configuration
Before you begin
Tip:
Make sure that the jq command-line JSON processor is
installed.
Some of these troubleshooting procedures require this tool. The jq tool
is available from this page: https://stedolan.github.io/jq/
.
About this task
Procedure
Results
bai-setup job completes, the default processing configuration is
restored.