Show Plugin Info

Name

Text Line Filter

Version

1.0

Description

Filters out lines using regex's or simple string matching.

Details

This plugin filters out lines that match a pattern.

When using this plugin the input stream will be paused until a new line char (\n) is found. Then the line will be evalulated to see if matches a filter. If the line matches the filter it will be discarded (unless you are using the include only matches option).

This does make it look like there are no incoming bytes until a full line comes in, so this plugin does not work well with interactive prompts. It is meant to be used with a device that just streams log messages that you want to filter.

Filters

You set the filters in settings. You can access the filters in "Settings->Terminal->Data Processing" then click on "Text Line Filter" and press the "Settings" button.

Simple Matching

With the simple matching you can remove lines that start with a list of strings, lines that have the string in it, or lines that end with the string.

When you input a filter you can list several strings to filter by putting spaces between strings. You can use quotes around the string if you want to have spaces in your string.

Regex Matching

With the regular expression matching you can remove lines that match the filter or only include lines that match the filter (remove all lines that do not match).

You can input up to 5 different regular expressions.



Download...