Hi all,

I'm planning to implement a JavaScript eval data processor. As the name
suggests, users will be able to write some JavaScript code which takes in
an event (as a map), do some processing on the event, and return a new map
which then gets converted to an sp-event.

example js:

function process(event) {
    // do processing here.
    // return processed event.
    return {id: event.id, tempInCelsius: (event.tempInKelvin - 273.15)};
};


Will this be a good addition to pipeline-elements? What do you think?

Regards,
Grainier.

Reply via email to