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
Splitplugin will process the data in the temporary tableview_table_1and register the processing result as a temporary table namedview_table_2, this temporary table can be specified by any subsequentFilterorOutputpluginssource_table_nameis used.
split {
source_field = "message"
delimiter = "&"
fields = ["field1", "field2"]
}
Without
source_table_nameconfigured, theSplitplugin will read the dataset passed by the previous plugin and pass it to the next plugin.