Filter
Description
This operation allows you to filter lines of text based on specific conditions or patterns. This operation is useful when you want to keep only lines that match a certain pattern or exclude lines that don't meet specific criteria.
Data types
These are the input/output expected data types for this operation:
Input data
- The input strings to be split and filtered.
Output data
- The filtered results after applying the regular expression and delimiter.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Example
Suppose you want to filter a series of strings to extract only segments that start with error:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Filter.
Set Delimiter to
Line feedSet Regex to
^ErrorSet Invert to false.
Give your Output field a name and click Save. The strings in your input field will be filtered with the specified conditions.
For example, this text:
will be filtered as:
Last updated
Was this helpful?

