Skip to main content

Custom JavaScript enrichment

With this enrichment, you can write a JavaScript function to be executed for each event. Use this enrichment to apply your own business logic to your events, including:

Configurationโ€‹

base64 encoding

Notice that in the configuration file you will need to provide the JavaScript code of your enrichment encoded in base64.

Outputโ€‹

This enrichment is the only one that can both update fields of the atomic event in-place or/and add derived contexts to the enriched event.

Was this page helpful?