Filter plugin
Filter plugin general parametersâ
name | type | required | default value |
---|---|---|---|
source_table_name | string | no | - |
result_table_name | string | no | - |
source_table_name [string]â
When source_table_name
is not specified, the current plugin processes the dataset output by the previous plugin in the configuration file;
When source_table_name
is specified, the current plugin processes the dataset corresponding to this parameter.
result_table_name [string]â
When result_table_name is not specified
, the data processed by this plugin will not be registered as a dataset that can be directly accessed by other plugins, or called a temporary table;
When result_table_name
is specified, the data processed by this plugin will be registered as a dataset that can be directly accessed by other plugins, or called a temporary table. The dataset registered here, other plugins can directly access by specifying source_table_name
.
Usage exampleâ
split {
source_table_name = "view_table_1"
source_field = "message"
delimiter = "&"
fields = ["field1", "field2"]
result_table_name = "view_table_2"
}
The
Split
plugin will process the data in the temporary tableview_table_1
and register the processing result as a temporary table namedview_table_2
, this temporary table can be specified by any subsequentFilter
orOutput
pluginssource_table_name
is used.
split {
source_field = "message"
delimiter = "&"
fields = ["field1", "field2"]
}
Without
source_table_name
configured, theSplit
plugin will read the dataset passed by the previous plugin and pass it to the next plugin.