By expression
Use Javascript expressions to define custom filters
Last updated
Use Javascript expressions to define custom filters
Enable developers the flexibility to define filtering logic using Javascript.
This is ideal when there is a need to fine tune the filtering process to the needs of the use case.
There are various uses for this filter such as:
In software development Enable developers to create complex filtering logic by combining multiple conditions within a single filter process, simplifying the pipeline.
In data science Use layered filters to refine datasets, allowing specific data points to pass through for targeted analysis.
In cybersecurity Apply multi-layered filters to detect specific patterns or anomalies in real-time, improving threat detection accuracy.
This will provide all IBM events to the next processors.
Top level StreamEvent attributes are not available within the scripting processing context.
filter:
expression: "(typeof symbol !== 'undefined' && symbol === 'IBM') ? true : false;"expression
A valid Javascript expression that returns a boolean value
String
Last updated