Example 1: Processing and writing business data or common data
This example shows how to process common data and business data separately.
About this task
- To process only common data and write it to a new, dedicated index.
- To process only business data and write it to the existing index.
Such customization involves the following steps.
- Step 1: Define a new OpenSearch egress that processes and writes only common data to the new index.
- Step 2: Update the existing OpenSearch egress to process and write only business data to the existing index.
- Step 3: Declare a monitoring source to monitor data from the index through Business Performance Center.
In the default processing configuration, the transformation is defined in each egress by
a transformer.
"transformer": {
"type": "jslt-file",
"filename": "transformation.jslt"
} The logic of the transformation lies in the transformation.jslt
file, where raw events are transformed into time series documents. As a convenience and example, the
default Operational Decision Manager or Decision Intelligence configurations contains two files that are
not used by the default processing-conf.json configuration.- The transformation-data.jslt transformer processes only business data (input and output parameters).
- The transformation-common.jslt transformer processes only common data (decision events).
Procedure
What to do next
- Before you apply the changes, you might be interested in further customizing your processing configuration, as explained in these examples.
- To apply your changes, follow instructions in Updating the processing configuration.
- You can then send events to the Kafka ingress topic.